Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I add Labels and txtBoxes to a form at runtime?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00196833
Message ID:
00196938
Views:
23
Many Thanks,
I was using ADDOBJECT mylabel as clabel with...
and not thisform.addobject(...

I'll get this stuff yet.



>>I thought I could add labels and text boxes to a form in the init method but it looks like you can only do that if you do the entire form in code. I tried addobject() and it says I can't do that. Is there a way or should I do the form in code?
>>
>>Thanks.
>
>No you can use AddObject(). What the exact problem you encountered? Don't forget that you should reset Control.Visible=.t. after AddObject.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform