Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamically display Controls from XML
Message
 
To
29/05/2006 05:47:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01125138
Message ID:
01125631
Views:
25
Hi Mike,

>I followed what you suggested. I created the controls using NewObject() but the controls are not being displayed on the form.

I addition to set the Visible property to .T., you also have to see those properties that you normally would set in the designer. This includes the position (top, left) size (width, height) and the tab order (TabIndex). To position and size the control in one step, you can call the Move method of each control after adding them to the form.
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform