Tracy,
Close but no banana. The Mousemove only fires when you move the mouse OVER
the control not when you click whilst in it. 

Hence it is OK if you move over the control from outside the control WITH
the left button pre-clicked but not if you simply hold the mouse down when
the textbox has focus. 

This is a real pain in the *rse and I'm sure someone must have solved it -
In fact I'm sure I have in the dark distant past but probably with a timer -
as you said.

The search goes on.

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:48
To: [email protected]
Subject: RE: Textbox Drag/Drop

Ah, wait.

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

Tracy


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


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




[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