Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can you declare a FORM public?
Message
De
14/08/1997 16:17:47
 
 
À
14/08/1997 15:56:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00044717
Message ID:
00044757
Vues:
39
>>>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform