Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_Screen resize
Message
From
30/10/2001 12:06:54
 
 
To
30/10/2001 11:53:07
Peter Garneau
Statistics Canada
Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00575148
Message ID:
00575159
Views:
23
>I am sure this has been asked before, but....
>
>Is there a way to capture a resize event on _screen ?
>
>Thanks.

The way I use I got from Fred Taylor. Don't have the exact code handy, but as best I can out of memory, in your main PRG you can do something like
DEFINE CLASS ScreenHook AS Custom
    oScr = _SCREEN  && Set a property referenace to the Screen object

FUNCTION Resize
*   Put your resize code here
ENDFUNC
ENDDEFINE
Instantiate this class and use it to manipulate the Screen.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform