Hi!
See FAQ#8124.
In VFP8 there will be new BindEvent() function...
>Hello,
>
>I would like to resize a form, depending on the size of the main _SCREEN.
>This would mean I would need a method _SCREEN.Resize and there trigger the code, but that doesn't work at runtime.
>Another solution would be to have an invisible form maximized and trigger that form's resize event, but this solution does not appear elegant to me.
>
>Is there a way to have the _Screen.resize event trigger a method?
>
>Thanks for help.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.