Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Min button
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
01447785
Message ID:
01447793
Vues:
91
>>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform