Got the same problem with combobox... the only solution I found was to use a real combobox, set its visible property to False and when the user clicks on a cell, position the combo (by determining the position of the cell) and set it visible property to true.
Now, if you want it in each cell and if you can add or delete rows, you would have to create buttons dynamically when you select the column (with rowcount)...
1. Set the .cellpicture property to an image that looks like a button amd then use the click event to run your code. Use the .Row and .Column properties to determine the correct cell.
2. Place a floating button control over the cell that has focus. See faq222-3262 or search for floating controls.
If you want the entire column to show buttons then the first sol;ution would bre my choice. Fewer problems when you scroll the grid.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.