Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Two check boxes in grid cell. Collapse All
Subject Author Date
Eric Houvenaghel Jan 23, 2009 - 2:13 PM


Is it posible to have two check boxes in a grid cell.

-------------------  |  -------------------  |    -------------------

   □ X      □ Y       |     □ X      □ Y       |

-------------------  |  -------------------  |    -------------------

Using CExtGridWnd.

Eric Houvenaghel Jan 26, 2009 - 9:45 AM

Thank you for offering the code this grid cell. The module that we are trying to build is still in it’s infancy. We’ll get it working with existing controls and maybe we could take you up on your offer at a later day. Thanks again.

Technical Support Jan 26, 2009 - 5:59 AM

This task requires a new grid cell class which paints two check boxes and texts near them, handle mouse clicks on the check boxes and provide notifications. It would not be a problem to draw such grid cell and handle mouse input so we could quickly create this grid cell class for you. But we have no idea how to handle keyboard input in it. In the grid cell with single check box we are using the space key for checking/un-checking it. We need your advice about keyboard behavior for your double-check grid cell.

The grid cell described in your message can be replaced with the CExtGridCellCheckListComboBox grid cell which contains two combo box items. Please run the ProfUIS_Controls sample application, select the Grid dialog page, then click the CheckCombo hyperlink which is second from bottom in the first column of hyperlinks under the grid control. As a result, the selected column in the grid control above the hyperlinks will contain the CExtGridCellCheckListComboBox grid cells.