Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting to properties on another open non MDI form.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00161616
Message ID:
00161617
Vues:
27
>I need to access properties on another form. In a very basic setup here is what I have:
>
>
>***startup form is form1
>
>***gotfocus of form1
>Do form2
>
>***btnclick on form1
>thisform.release
>do form3
>
>****btnclick on form3
>x = form2.property
>* should this be desktop.form2.property? *
>
>***error msg
>object form2 not found (btw: I am looking right at it. I copied and pasted the name into the code incase I was misspelling)
>
>What am i screwing up here?
You need _SCREEN.forms.form2.property or something close to that. If that syntax looks a little ugly, that is why people hang form names like decorations in an array property of their application object.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform