Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Top Level Form and Menu Adjustment
Message
From
16/11/2001 13:56:19
 
 
To
16/11/2001 13:23:14
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00582780
Message ID:
00582872
Views:
27
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform