Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resizing Controls
Message
From
28/06/1999 16:58:20
 
 
To
25/06/1999 01:34:56
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00232807
Message ID:
00234970
Views:
33
>Hi James,
>This is not specifically for an editbox but you could implement it
--snip--

Hi Cetin,

You always write such clear code that it's quite easy to follow. Thank you for sharing it with me.

Actually, I have tried something similar. The problem that arises with an editbox (and presumably other controls that have a .value property) is that a .mousedown on the control invokes focus. With the editbox specifically, this prevents .mousemove from firing while the left mousebutton is depressed (nButton = 1), so that the structure you suggest would not work. Actually it is a little more complex. If the left mousebutton is depressed and the mouse moved over the control, .mousemove does not fire. But if another button is initially depressed, the the user switches to the left button, mousemove will fire. Crazy!

I'm looking a tricking the control in mousemove into thinking mousedown was pressed. I'll see how this works.

Thanks again for your reply,

regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform