Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Top Level Form and Menu Adjustment
Message
De
16/11/2001 13:56:19
 
 
À
16/11/2001 13:23:14
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00582780
Message ID:
00582872
Vues:
28
>Bill,
>I tried it and works nice (I think). A timer fires (interval 1000) :
>
>thisform.text1.value = iif(GetActiveWindow() > 0, ;
>'Active','NonActive')+trans(datetime())
>
>Cetin

Probably just me, but I'm missing why I want to get the handle of the window.

I can see the idea of having a Timer firing periodically to test to see if the form height is large enough for the objects on it and adjusting the form's height if it isn't. I was hoping for some kind of native event that would fire in which I could test the form condition and react accordingly. It just seems like overkill to have a Timer eating up CPU cycles for the sole purpose to test for a condition which would only happen rarely, and probably in most cases, never. I'll have to mull over this some.

Thanks for giving it some thought Cetin.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform