Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 6.0 - Addobject Method
Message
From
02/03/1999 11:20:27
 
 
To
02/03/1999 11:17:14
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00193175
Message ID:
00193181
Views:
13
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')
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform