Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form reference in run-time
Message
From
11/11/1998 01:49:58
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00155075
Message ID:
00156498
Views:
26
> From where are you trying to reference the form? Is it in a menu. on a
> program, or from a method of some object inside the form itself?

I tried to reference a form from another form, for instance. Both forms are not in a same formset.
In another case I tried to reference a form from main menu.
I came to decision,that the variable, by which I reference a form, must be declared PUBLIC first.
Example -
PUBLIC myform && declaring
DO FORM anyform NAME myform && starting form
myform.caption='Bla-bla' && referencing form

Sergey
reware@cafe.redcom.ru
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform