Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can you declare a FORM public?
Message
From
14/08/1997 16:17:47
 
 
To
14/08/1997 15:56:40
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00044717
Message ID:
00044757
Views:
44
>>>>>I need to get access to a object this is in a FORM that is not active.
>>>>
>>>>You can reference any form ("active" or "inactive", btw I don't know what you mean here), the only thing that this form must be loaded.
>>>
>>>If you have these FORMS loaded.
>>>form1
>>>form2
>>>form3
>>>and... you are in form1, but you want to access objects in form2 and form3,
>>>what would the the code look like.. code sample please.
>>
>>Rob, it's the same code as you got from previous thread (about Form.Release).
>
>OK - so you are saying that I can
>_SCREEN.anyform.RELEASE or
>_SCREEN.anyform.grid1.visible=.t. or
>_SCREEN.anyform.commandbutton.enabled=.f.
>
>provided I...
>do form myform name anyform
>
>Is that right?

It's safer to use _SCREEN.Forms(nLoop)... example I gave you.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform