Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to keep a form being center?
Message
De
02/12/1999 05:39:54
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00297809
Message ID:
00297811
Vues:
17
>Hello!
>
>I want to keep a form being always center, whenever VFP main screen is resized or moved. Can I catch those event?
>I know how to refresh AutoCenter property. Just assign again.
>_screen.activeform.autocenter=.t.

You can't trap events on the main VFP screen - however you can run your form inside your own form instead (and hide the VFP screen)
then you can use the resize event of that form

Arnon
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform