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.
Subject |
Author |
Date |
|
Ed Nafziger
|
Apr 24, 2012 - 12:54 PM
|
OnGbwBeginEdit is not called in my custom CExtReportGridWnd class. I am currently using 2.91. I want to avoid setting the cell to read-only, because I do not want the cell to appear grayed-out.
Here is my normal setup:
#define __ENABLE_CELLEDITING_BSE_STYLES__ \ (__EGWS_BSE_EDIT_SINGLE_LCLICK \ |__EGWS_BSE_EDIT_SINGLE_FOCUSED_ONLY \ |__EGWS_BSE_EDIT_DOUBLE_LCLICK \ |__EGWS_BSE_EDIT_RETURN_CLICK \ |__EGWS_BSE_EDIT_CELLS_INNER \ )
ReportColumnProportionalResizingSet( true, false ); SiwModifyStyle( __EGBS_GRIDLINES_H, 0, true ); // enable horizontal grid lines BseModifyStyle( __ENABLE_CELLEDITING_BSE_STYLES__ ); // enable cell editing ReportGridModifyStyle( 0, __ERGS_ENABLE_COLUMN_CTX_MENU, false ); // disable column context menu ReportGridModifyStyle( 0, __ERGS_ENABLE_COLUMN_LIST_IN_CTX_MENU, false ); // disable field chooser
|
|
Technical Support
|
Apr 26, 2012 - 1:00 PM
|
We suspect it’s not invoked for read-only or non-editable cells. We need more information or a sample project.
|
|