Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing values to another form.
Message
 
 
À
21/07/1998 16:14:49
Brad Stickley
Parker Pneumatic Div. North America
Wake Forest, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00119709
Message ID:
00119874
Vues:
20
Brad,

As Bruce said you need to copy the parameter to a form property if you are going to use it outside of the Init. Also I don't think you want to code that in the Activate() because that fires each time the form regains focus, so if the user edits the value, changes windows, then comes back to this one it'll stuff the original value back in the textbox. You can make the text1.Value assignment right in the Init()

>
>This is what I have on the init of magnify.scx
>
>LPARAMETERS cParam1
>
>Then I call up in the activate
>
>Thisform.text1.value = cParam1 &&This assigns the value passed to the text box.
>
>But I still am getting an error that the parameters statement was not there.
>I am not sure what I am doing wrong and would greatly appreciate any advice.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform