Tracy,
That's what I've done but it is a real kludge as for this particular
application I have a comms program timer running in the background and it
just seems to screw everything up.

Also, I wanted to use whatever the solution is in my VFPOrganiser project to
drag/drop appointments into the waste basketbut allow the user to double
click on an appointment to edit it, which is fairly standard Windows
bahaviour. 

For the moment I've got aound it by programatically activating Drag/Drop
when the user Right Clicks in a textbox but it doesn't "feel" correct - know
what I mean? 

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 Tracy Pearson
Sent: 19 June 2006 16:11
To: [email protected]
Subject: RE: Textbox Drag/Drop

-----Original Message-----
From: Dave Crozier
Subject: Textbox Drag/Drop


To all,
I've had a mental block here and would like some feedback on the approach
you guys use when dragging textboxes when you have a doubleclick event
assigned to the very same textbox?

My problem is that once you set up:
This.drag(1)

in the Mousedown event or evan make Dragmode=1 (Automatic), you
automatically mask out the DoubleClick() event which never fires.

Ideally I need to allow drag/drop and doubleclick and apart from some really
messy "kludging" or making drag/drop fire on the RightClick() event, I can't
seem to work out an easy way of doing it. In simple terms I want to only
activate drag/drop when I hold the Right mouse button down for more than 2 x
seconds continouosly, otherwise continue as normal.

Thanks in anticipation - unless I have a brain restart in the meantime!.

Dave Crozier
-----Original Message-----

Only thing that comes to mind is a timer control for the delayed action you
want.

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