Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically add controls to a form
Message
From
20/05/2002 16:08:12
 
 
To
20/05/2002 15:49:30
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00659070
Message ID:
00659082
Views:
28
This message has been marked as the solution to the initial question of the thread.
>> how do I throw 4 textboxes on the form - one for each record?


Tracy, use the AddObject method of the form. For example:
YourForm.AddObject("txtPrinter1","textbox")
YourForm.txtPrinter1.Top  = lnTop
YourForm.txtPrinter1.Left = 10
YourForm.txtPrinter1.Visible = .T.
Note that lnTop you must calculate in order to put the textbox on the right place.
Claudio Lassala
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform