Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically add controls to a form
Message
From
20/05/2002 16:43:57
 
 
To
20/05/2002 16:08:12
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00659070
Message ID:
00659099
Views:
36
I'm giving this a shot, thanks Claudio! Calculating the distance should not be to hard since all textboxes will be the same size.

>>> 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.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform