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 » Two questions about grids Collapse All
Subject Author Date
Gevork Odabashyan Jun 26, 2007 - 7:35 AM

Hello

First, how can I add a verical scrollbar to a multiline CExtGridCellString of a CExtReportGridWnd?
Next, CExtGridCellCheckBox::SetAutoTextMode() method disables character’s input into the sell, but also displays the "True" of "False" text in it. But what if I need neither character’s input, no any text in the cell?

Thank you

Technical Support Jun 26, 2007 - 2:05 PM

1. The scrollbars are not supported in the inplace editor. Actually grid cells should not be used for editing some long multiline text. Some dialog with a text editor inside could be more suitable for this . This dialog can be shown when the user clicks the cell ellipsis button.

2. There is no need to turn on the AutoTextMode mode, do not assign any text to the cell and apply the __EGCS_NO_INPLACE_CONTROL cell style. When this style is applied for a particular grid cell, the in-place editor window will not be activated:

pCell->ModifyStyle( __EGCS_NO_INPLACE_CONTROL );