Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AddObject/CreateObject
Message
From
15/03/2002 06:27:38
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
AddObject/CreateObject
Miscellaneous
Thread ID:
00633293
Message ID:
00633293
Views:
40
This should be a simple one.

I need to dynamically add controls (currently only based on TextBox, but others later) to a form. No problem using the AddObject method of the form, but I need to create a unique name for each object.

There may be a large number of objects, so I thought an array of objects created with CreateObject would be a better way to go. Using this method, the objects are created, but not displayed on the form.

How do I get the objects displayed on the form - I'm obviously missing something fundamental. Can CreateObject be used this way, or is it only possible with AddObject ?
Len Speed
Next
Reply
Map
View

Click here to load this message in the networking platform