Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to detect if form has been moved?
Message
De
12/12/2001 08:50:53
 
 
À
12/12/2001 00:14:53
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00593102
Message ID:
00593198
Vues:
24
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform