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

Got it - thanks!

Great to get a reply in 3 minutes!
Kogo Michael Hogan

"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?

Ideate Web Site
Previous
Reply
Map
View

Click here to load this message in the networking platform