>I'm calling the resize event of a form in its' init event.
>
>I'd like the resize event to know that the init is calling it rather than being user generated.
>
>Is there a way to pass messages (parameters?) from one event to another?
>
>thanks, kim
Hi Kim,
Yes you can pass parameters to the resize event from anywhere. I do it all the time. Here's how:
From the form INIT...
THIS.RESIZE('INIT')
In the form resize...
lParameters tcCalledFromWhere
Another thing that works is:
From the form INIT...
THIS.RESIZE(program(1))
** Where program(1) returns the name of the calling program.
** I think the last one back is level 1 (you better confirm that)
Good luck!
Hugh
Microsoft hears loudest what the VFP community says about Visual FoxPro by looking at the bottom line!
Support the product. Buy the latest version!
Hugh Winters @ WorldData 408-512-1131