Hi Alex,
_Screen is a form so it has all the PEMs associated with that class.
Regards.
>Wow! Thank you and thanks to Fred. I guess VFP goes around looking for methods called resize, because I didn't see any for _screen.
>
>Alex
>
>
>>>Is there an event that fires when the main foxpro screen (_SCREEN) is resized?
>>
>>You can use Fred Taylor's idea from
Re: Shortcut menu Thread #
491767 Message #
492586.
>>
_Screen.AddObject("oResizer", "Resizer")
>>
>>DEFINE CLASS Resizer AS Custom
>> oScreen = _Screen
>>
>> PROCEDURE oScreen.Resize
>> *Resize Code Here
>> ENDPROC
>>ENDDEFINE
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao