General information
Category:
Coding, syntax & commands
Title:
DO FORM NAME only work in Command Window?
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only