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:
00196836
Views:
28
>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.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform