Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 6.0 - Addobject Method
Message
De
02/03/1999 11:17:14
 
 
À
02/03/1999 11:15:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00193175
Message ID:
00193178
Vues:
20
>If I run the following code twice I get an error message [A member object with this name already exists]. What do I do if I want to create more than one textbox on my form?
>
>Thank you for your time
>
>
>THISFORM.AddObject('mytextbox','textbox')
>THISFORM.mytextbox.Top = 10
>THISFORM.mytextbox.Left = 10
>THISFORM.mytextbox.Visible =.T.

You should create them with different names:
THISFORM.AddObject('mytextbox1','textbox')
THISFORM.AddObject('mytextbox2','textbox')
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform