Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reference one form from another
Message
 
À
17/07/2000 23:07:31
Jimmy Ditta
Twin City Electronics
Monroe, Louisiane, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00393630
Message ID:
00394057
Vues:
11
As long as the other form is opened with a do form (it may be "hide"n or invisible, but it must be instanced)
just say:
TheValueNeeded=Theotherform.controlname.value

>>>How do I reference a control on another form from the current form? i.e. Thisform.controlname.value would be the value of a control on the current form. How do you say Theotherform.controlname.value?
>>>
>>>Thanks
>>>JD
>>
>>Loop through the _Screen.Forms[] collection for the other form (you can check the name property) and when found use it.
>
>What is the _Screen.Forms[] collection?
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform