General information
Category:
Object Oriented Programming
Hi Jimmy.
>> How do you replace the textbox control with a combobox control for the column of a grid? <<
Actually adding a combo box to a grid is very simple. First, make sure that your combo box class is available on the form controls toolbar: In the form designer, click on the View Classes toolbar button. (This is the button that looks like a set of books.) Select the Add option and find the appropriate class library in the open files dialog. Next, in the drop down list at the top of the property sheet, select the grid column that will hold the combo box. After clicking on the combo box in the form controls toolbar, click on the grid column into which you want to drop it. If you now look at the controls listed under that column in the property sheet, you will see the combo box that you just added. Using the Data tab of the property sheet, set the combo box as the CurrentControl for the grid column.
You may also want to check out my artocle in FoxPro Advisor's February 2000 issue that gives you a handy combo class especially for use in grids.
Marcia
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only