Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forms visiblility...
Message
 
To
07/04/2000 14:49:44
Frank Cavone
Monetary Management of Ny, Inc.
Albany, New York, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00357049
Message ID:
00357069
Views:
20
>i have a main form and have commnad buttons on that form that use, mainform.visible = .F., in the load
>event of the second form and the, mainform.visible = .T., in the unload event of the form. this works find if
>im working in the project, but once i compile the project and try to run this i get the message ,
>"object mainform is not found". i cant understand it since it works when im testing it but doesnt work
>from within the .exe file. i've checked syntax and recompiled the project to no avail.
>help
>thanks

Frank,

Tnis is a common error, you are assuming that the name of your form is MainFrom and it very wellmay not be. Instead in the button of the Mainform do this;
* Button click
Thisform.Visible = .f.
DO FORM Whatever
Thisform.Visible = .T.
You must make sure that the forms you call are modal.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform