Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Disabling Selection Marquee (Read 2618 times)
GL@Olympus
YaBB Newbies
*
Offline


Too much work, too little
time, no doughnuts

Posts: 12
Joined: Jun 18th, 2011
Disabling Selection Marquee
Jun 27th, 2011 at 12:13pm
Print Post  
Hi,

I am looking for a way to allow my users to click on an empty date cell in resource view to enable them to enter a new appointment using a custom dialog that we already have defined. This data is then passed back to the DB so other clients can see it pretty much instantly and i will add the new appointment dynamically when the dialog closes.

The 'DateClick' event seems to give me all the info I need to start this process off, but I want to find out how to suppress the selection marquee that appears (i'm guessing it's part of the underlying mouse click processing).

Any thoughts?

Thanks Graham.

  

If a man states a fact in the woods when there are no women present, is he still wrong?
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Disabling Selection Marquee
Reply #1 - Jun 27th, 2011 at 12:22pm
Print Post  
Try calling Calendar.ResetDrag before displaying your custom dialog. This will suppress the subsequent mouse move handling.

Regards,
Meppy
  
Back to top
 
IP Logged
 
GL@Olympus
YaBB Newbies
*
Offline


Too much work, too little
time, no doughnuts

Posts: 12
Joined: Jun 18th, 2011
Re: Disabling Selection Marquee
Reply #2 - Jun 27th, 2011 at 2:11pm
Print Post  
Well done Meppy. That did the trick!!!

Grin
  

If a man states a fact in the woods when there are no women present, is he still wrong?
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint