> Is there a way to hook into the forms resize event without manually adding code to the resize event??
>
>
> ---
>
>
www.foxite.com - The Home of the Visual FoxPro Experts
maybe this could help you, it isn't with the form, but i know you'll work it out
DEFINE CLASS MyHook as custom
oHookedObject = m.lcToBeHooked
procedure oHookedObject.resize
messagebox("Eureka, it works")
endproc
ENDDEFINE
and then
private lcToBeHooked
m.lcToBeHooked = _Screen
set procedure to hook.PRG
_Screen.AddObject('MyObjectHook','MyHook')
Karben Selim Mejia
Life is a bad teacher, It puts you the test first, then teaches you the leasson.
Honduras, Central America
The very centre of the world