Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make _Screen.Resize change form size
Message
From
19/03/1999 14:13:45
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00199488
Message ID:
00199908
Views:
18
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform