Professional UI Solutions
Site Map   /  Register
 
 

Forum

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 » Combo box button in read-only cell Collapse All
Subject Author Date
Paul Cowan Jun 29, 2007 - 8:13 AM

How do I hide the combobox drop-down button in a read-only cell? The button is automatically disabled, but there is no need to display.

Technical Support Jun 29, 2007 - 11:05 AM

By default this is not supported in grid cells that are read-only. You can only remove the drop-down button manually:

// 1) Make the cell read-only
pCell->ModifyStyle( __EGCS_READ_ONLY );

// 2) Remove drop down button from it
pCell->ModifyStyle( 0, __EGCS_BUTTON_DROPDOWN );