-What about if in the MouseDown event you check to see if it was right clicked or not, then do your Drag(1) otherwise do the dodefault() MouseDown event which should fire the Doubleclick().
-What about binding events with this...
- What about instead of storing code in the doubleclick event, having your doubleclick event call another method of code which you can also call from your drag/drop when the doubleclick does not fire?

Philip


Dave Crozier wrote:

Al,
The problem is I can't get the Doubleclick() to fire as the Mousedown event
takes control first and then kicks in with the with the programatic Drag(1)
which masks out the doubleclick() which never fires.
Ideally I want to check for doubleclick in the Mousedown event and if true
then pass it up the chain to the default doubleclick() method.  If .F. then
I know I've started the drag/drop and I can programatically start it with a
Drag(1).


Dave Crozier
"A computer is a stupid machine with the ability to do incredibly smart
things, while computer programmers are smart people with the ability to do
incredibly stupid things. They are, in short, a perfect match"  - Bill
Bryson


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Allen
Sent: 19 June 2006 17:03
To: [email protected]
Subject: RE: Textbox Drag/Drop

Could the double click be used to cancel the drag ?
I use mousedown to start the process anyway. That way you can check for left
button easy to start the drag and keep the right button for context menu.
Allen
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Pearson
Sent: 19 June 2006 16:48
To: [EMAIL PROTECTED]
Subject: RE: Textbox Drag/Drop

Ah, wait.

MouseMove, if MDOWN() then start the drag at that point.

Tracy




[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to