Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid. Replace Text1 with a container
Message
From
09/05/2012 08:24:24
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01543303
Message ID:
01543348
Views:
51
>Hi,
>
>I have not done this in a very long time and forgot how to do it. I need to replace Text1 in a grid control with a container class. I remember that I have to add this container class into the Form Control Toolbar, which I did. But I can't seem to figure how to "drop" this container control into the grid. TIA for the suggestions.

The easiest way to add controls to a grid is to use the Toolbox. Add the class library that contains your container (or whatever controls you want to put in the grid) to the Toolbox. Then, just drag the control you want to add to the right column of the grid and drop it. You'll get prompted as to whether it should replace the default textbox or not. (Full disclosure: whether you see that prompt or not is configurable with the Toolbox's options dialog.)

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform