, ,

Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

Disabled EditTable BACKCOLOR (OpenInsight 64-bit)

At 19 MAY 2023 08:51:11AM Donald Bakke wrote:

We have an OI 9 application being migrated to OI 10. The users are accustomed to specific BACKCOLOR settings to mean specific things, including which controls are disabled. In OI 9 it was easy to control the BACKCOLOR of edit controls (including EditTables). In OI 10 it seems that disabled EditTables are hardcoded to gray and setting the BACKCOLOR property won't change anything. Is this expected?

I know we can use CellStyles. We were just hoping to maintain backwards compatibility.

Don Bakke

SRP Computer Solutions, Inc.


At 23 MAY 2023 07:35AM Carl Pates wrote:

Hi Don,

Can you try setting the BACKCOLOR first before you disable the edit table? I think then it will keep the color you choose. It seems a little overzealous to ignore a color if it's not the default so I may relax that…

Regards

Carl Pates


At 23 MAY 2023 10:59AM Donald Bakke wrote:

Hi Don,

Can you try setting the BACKCOLOR first before you disable the edit table? I think then it will keep the color you choose. It seems a little overzealous to ignore a color if it's not the default so I may relax that…

Regards

Carl Pates

Hi Carl,

This is the response I got back from my engineer:

We tried that. There were two issues noted with that solution.

[list=1]

While the BACKCOLOR is preserved, at least temporarily, the text color is grayed out, which is undesirable.

On a tabbed form, when navigating to another tab and then back to the tab with the disabled edit table, the BACKCOLOR is then set back to the disabled gray color.

[/list]

Don Bakke

SRP Computer Solutions, Inc.

View this thread on the Works forum...