Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 6.0 - Addobject Method
Message
De
02/03/1999 11:20:27
 
 
À
02/03/1999 11:17:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00193175
Message ID:
00193181
Vues:
14
The problem is that I don't know HOW MANY I am going to create... Any other suggestions?

>>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')
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform