View Full Version : Combobox in grid
Is there a way to put a combobox in a grid like the property-screen in Acubench ?
Regards
I place a combo box on the grid to do this. I compute the exact row that it will be appear using the CURSOR-Y and VSCROLL-POS. It's a little tricky, so if you interesting for, i could send you a sample code.
We did the same thing, but it did not always act properly depending on how the mouse/keyboard was used.
We are currently using the FlexGrid from Component One, which has the ability to have a combo box in a cell, among other things.
Hans, I sent you the sample program in your email.
Adam.
BMS,
I don't have your source anymore but I managed to place a button in one of the cells.
Wen I click the button, the grid generates a msg-evt-goto-cell instead of the button-on-click event.
The button is not in a separate cell. It's in a cell with no data, but the cell-color is used to set a color as one can see in the atachment.
I managed to produce the button-on-click code, but not with the button-on-click event so I wonder if this normal behavior.
vBulletin® v3.6.8, Copyright ©2000-2010, Jelsoft Enterprises Ltd.