>>Hi. VFP7 user. How can I hide my form when I click on a pull-down menu option? thanks, Randy
>
>I always create a variable with the object reference to the form. For example:
>
private goMainWindow
>goMainWindow = NULL
>do form mainwindow to goMainWindow
Didn't you mean this?
do form mainwindow name goMainWindow
>If the creation of the form succeeds, then I can use that variable. To hide the form:
>
goMainWindow.visible = .F.
>To redisplay it:
>
goMainWindow.visible = .T.