Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command Button Go To
Message
From
06/11/1997 16:22:40
 
 
To
06/11/1997 16:18:44
Scott Mayberry
Cuyahoga Co. Juvenile Court
Cleveland, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00058730
Message ID:
00058733
Views:
27
>I am trying to get a command button from a Form1 to open a Form2 on the click of the mouse.
>I've tried (under Mouse Click) the user procedure...
>
>form1.command1.click
>do form2
>
>It works sometimes, but gives me error messages other times "Error - Form1 not found"
>Is my procedure incorrect or am I missing something else? Please help!

Firstly, it's enough to have just DO FORM2 ... in command1.click.
If you mean to imitate button click when you click in any other area of form, then it's good to use 'Thisform' instead of 'Form1'.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform