Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding Control
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00348093
Message ID:
00348143
Views:
21
>How can I add a text box to a grid and at the same time remove a edit box from a grid at run time ?

Mahmood,

Why not leave them both there and set the DynamicCurrentControl property for the column to use the one you need;

Column.DynamicCurrentControl = IIF(LEN(FieldName) > 25, "Edit1","Text1")
Previous
Reply
Map
View

Click here to load this message in the networking platform