Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Scheduling DragDrop Sample (Read 2065 times)
fractal07
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 28
Location: France
Joined: Mar 13th, 2017
Scheduling DragDrop Sample
May 10th, 2017 at 7:52pm
Print Post  
Hello,
I'm working (VS2015, C#, Winforms) on a timetable inspired from the Scheduling DragDrop Sample and I'm still stuck on a drawing issue : I do not succeed to manage the size (the height) of the rectangle drawn when I'm creating an appointment by dragging an image ( as the sample shows), the box still displays a 1h00 height while I use a 0h30 cellTime!
However, once the appointment is created, if I move it the cell height is correct (=0h30)..

It's pretty difficult to debug dragging events so if someone understood my issue and have an idea... Thank you!
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Scheduling DragDrop Sample
Reply #1 - May 11th, 2017 at 7:36am
Print Post  
Hi,

If you want to custom-draw only a single cell (rather than 2 consecutive cells as demonstrated by the sample), check the modified version of the sample below:

https://mindfusion.eu/_samples/_sample_DragDrop.zip

If you need something else, please, attach an image illustrating the end result.

Regards,
Meppy
  
Back to top
 
IP Logged
 
fractal07
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 28
Location: France
Joined: Mar 13th, 2017
Re: Scheduling DragDrop Sample
Reply #2 - May 11th, 2017 at 1:51pm
Print Post  
Thank you Meppy, it's perfectly clear now!

I checked in the original file, comments were good but, at first, I didn't understood them...  Thank you again!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint