Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command Button Go To
Message
From
06/11/1997 16:27:38
 
 
To
06/11/1997 16:22:40
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00058730
Message ID:
00058734
Views:
28
>>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'.

VFP can't find your from file. Make sure that the directory where your .scx resides is in the path. Sounds like either you are changing your default directory around, or resetting the path.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform