Edit Table - Is it possible to change the colour of the header cells? (OpenInsight 32-Bit)
At 07 AUG 2009 05:24:43AM Dale Jessop wrote:
Hi all,
Is it possible to change the header cell / buttons background or foreground colours? I suspect not as they're buttons and you cannot change the colours of those… but just wondered.
Cheers!
At 07 AUG 2009 08:35AM Mike Ruane wrote:
Dale-
In 9.1 you can change the height, width, and text of both the beader and the side buttons, but I don't think you can do anything with the color.
Mike
At 10 AUG 2009 03:28AM Colin Rule wrote:
There are alternative solutions perhaps.
The SRP Edit table allows this as far as I know.
Another solution is to use two tables, the top table just with one row, suppress the headings, and feed your headings into row 1 in code.
You can then change the colours of the top table to suit, but the headers dont quite look as good.
You have to associate the TOPPOS property to maintain horizontal scrolling, and also the Column widths… but it can be made to work.
At 10 AUG 2009 11:06AM cpates@sprezzatura.com wrote:
Dale,
You can change the TEXT color for a header or row - but not the background. The key is to use "-1" as the column or row specifier
0001 $insert colors 0002 0003 * Set the header text of column 2 to blue… 0004 call send_Message( @window : ".TABLE_1", "COLOR_BY_POS", 2, -1, BLUE$ ) 0005 0006 * Set the text of row button 3 to red… 0007 call send_Message( @window : ".TABLE_1", "COLOR_BY_POS", -1, 3, RED$ )
cpates@sprezzatura.com
Battlestar Sprezzatura - BSG 77
Colonial leaders in all things RevSoft
At 13 AUG 2009 05:12AM Dale Jessop wrote:
Hi Mike/Colin/Carl
Thanks for the responses. I was after changing the background colour more than anything. Will just have to live with gray for the time being
![]()
Dale.