Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DO FORM NAME only work in Command Window?
Message
From
05/03/1996 13:22:09
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
DO FORM NAME only work in Command Window?
Miscellaneous
Thread ID:
00000214
Message ID:
00000214
Views:
115
I have been trying to learn VFP for the pat few days, and i keep running into the same problem ...
When I DO FORM within code the form name is not created with the form and the only way i can refer
to the form is with _SCREEN.ActiveForm or THISFORM directivess ... however this will not enable me
to refer to an object which does not have the focus ...

example: From the Command Window
DO FORM main1 NAME fmain - runs the form main1 and assigns the name fmain to the form
From Code within MAIN1
DO FORM edit1 NAME fedit - runs form edit1 and does not name the form fedit ... or even edit1!!

The DO FORM
NAME works fine through the command window but not through code ... am i
doing something wrong????

Any comments or suggestions are greatly anticipated and welcomed.

Email: arlo@eden.com

-arlo
Next
Reply
Map
View

Click here to load this message in the networking platform