Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't set ControlSource to a memvar with AddObject in In
Message
De
14/01/1997 11:22:26
 
 
À
14/01/1997 10:18:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00017299
Message ID:
00017319
Vues:
72
>>I am creating some text boxes on the fly in a form Init. I can set the control sorce to a field. I can set the control source of an existing text box to the memvar but get a message "Data source for this object must be a variable reference". Anyone got any ideas?
>
>If you create a memvar in Init(), it won't be viewed outside.
>
>You need to create a form property and you will be able to see it.


Another tip I got (from the UT!) on doing this is to create a cursor, say in the Init() of the form, to hold your variables. The contents of the cursor are available from all methods of the form. Don't forget to destroy the cursor.
Tina Robichaux
Interland, Inc.
www.interland.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform