Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Monitor _SCREEN.WindowState
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00121904
Message ID:
00136285
Vues:
30
>Hi George,
>
>I looked at most of the properties on the form and looks like the WindowState, Top & Left are the exceptions. Probably it is doing the right thing.
>
>Say the settings for the top position of a form is set to 0 (default) and you have Top_Assign(). If the form's AutoCenter is set to .T., the top position will be changed when the form is run but the event is not fired. The event is fired if you manually set AutoCenter = .T. from a method like Init(), Load() etc. or directly change the setting of Top.
>
>The common things among Top and Left is that, their value changes with the setting of some other property i.e. AutoCenter which overrides the event, if AutoCenter is specified in the property window.
>
>Hopefully someone will throw more light on this topic...
>
Hi Kamal,

I'd love to hear from them if they could. BTW, I think that you'll find that .Resize isn't 100% reliable. The exception that I've noted is if the main window (_SCREEN, if you will) is minimized, restoring it won't fire the form's .Resize event. That's what started this, namely being able to detect that.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform