Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Min button
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
01447785
Message ID:
01447793
Views:
92
>>>I have a lot of forms in my app, I was wondering of a way to disallow minimizing all forms in one fell swoop?
>>
>>You can do a loop through _screen.Forms collection and set MinButton = .f. for each of them, e.g.
>>
>>for each oForm in _screen.Forms
>>    if pemstatus(oForm, 'MinButton',5)
>>       oForm.MinButton = .f.
>>   endif
>>endfor
>>
>>from the top of my head - not tested.
>
>That works fine, but just for forms already open. Maybe I'm asking the impossible. My main form simply opens other forms, and they in turn can open still more forms.

How your main form opens other ones?
Or meybe you should your own class based on form that could handle all for you?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform