Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to put a combobox on a grid?
Message
From
02/09/1998 12:24:46
 
 
To
02/09/1998 12:09:34
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00132367
Message ID:
00132431
Views:
21
I tried this, got some problems yet,

My problem : I have a table with 7 columns. The values in column 5 depend on column 2 . If the col.2 value is "C", col 5 should show a combo box with 3 items in it. In the grid, only col 5 should have combo boxes.
When I created grid, using grid builder, it created a text box for col 5.
Instead of text box, I want a combo box.

If col 2 is 'N', col 5 should have different set of items in combo box.

Whatever the user selects from combo box, it should store into that field of the table.

I did it using one combo box, and placing it runtime at the place I wanted, that is in the active cell , by assigning left,right,top,height etc. (with some calculation) . It is working pretty fine, but is very tire some, Any good way of doing it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform