OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: Jim Short on December 04, 2012, 04:41:47 PM

Title: dcl_Grid_SetCellStyle - Please help
Post by: Jim Short on December 04, 2012, 04:41:47 PM
ODCL 7.0.0.6 Acad2K4

Modal form Grid has three columns: 0, 1, 2
0 is grayed out 0-decide at runtime
1 is 0-decide at runtime
2 is 6-text

dcl_Grid_SetCellStyle returns true for all rows in col 1 but can not edit those cell at all.
What can prevent setting cell style from succeeding? or What makes cells read only?
Is column 0 always gray and readonly?

Jim
Title: Re: dcl_Grid_SetCellStyle - Please help
Post by: Fred Tomke on December 05, 2012, 10:36:01 PM
Hi, Jim, have you already checked the rowheader property?
Regards, Fred
Title: Re: dcl_Grid_SetCellStyle - Please help
Post by: Jim Short on December 06, 2012, 04:41:50 PM
OpenDCL is working as expected. It just did not expect me to do what I did. In order to set a cell style for a cell, the cell label must be an empty string, otherwise the cell style will not change. Also, the cells column must be set by design to decide at runtime. If no cell style change is requested the cell will not be editable.

Jim