Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make _Screen.Resize change form size
Message
De
19/03/1999 14:13:45
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00199488
Message ID:
00199908
Vues:
19
>>>I'd like my primary form to rsize automatically when the user re-sizes the _Screen.
>>>
>>>I've tried writing to the _Screen.Resize method, but it seems to be read-only.
>>>
>>>Any way to accomplish this? Perhaps I should make the _Screen disappear - but what would happen to my menus?
>>>
>>>TIA
>>
>>_SCREEN does not have events so there is no reliable way to catch resizing. You may look at top-level form design where this thing can be implemented easily.
>
>If you could tell me where I can get started reading about 'top=level form design' it would be appreciated....
>
>TIA

It's simple. You use one form of your project with property ShowWindow=2 (top form) and all other forms with ShowWindow=1 (in Top form). You may open toolbars/menus within top-form, so it behaves exactly like _SCREEN with no controls, but all form PEM (including custom one) available.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform