Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to detect if form has been moved?
Message
From
12/12/2001 08:50:53
 
 
To
12/12/2001 00:14:53
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00593102
Message ID:
00593198
Views:
23
This message has been marked as a message which has helped to the initial question of the thread.
I haven't tried this, so I am for certain it will work, but try this:
create a public property in the form
set the property to the location of the form in the init event
on the mouse up event of the form (if there is one, I am a VFP programmer), check the property and make sure it equals the location property of the form.
If not then you know it has moved.

If you can't find a good event to check the property in, try using a timer.
Good luck.
Randy Belcher
AFG Industries, Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform