ADDTABLE and colors (OpenInsight Specific)
At 07 FEB 2000 11:13:09AM Bruce wrote:
Hello,
Is it possible to use one ADDTABLE statement to display columns in different colors. I need to set a column to blue if it is a low value and red if it is a high value.
Thanks Bruce.
At 07 FEB 2000 11:29AM Stephen S. Revelation wrote:
Bruce,
I'm not sure what ADDTABLE is but if you use something like (in a nested loop):
Send_Message(Control, 'COLOR_BY_POS', x, y, color:@FM:0)
, this should change the color of the specified column. COLOR_BY_POS is similar in use as the documented FONT_BY_POS, but cannot be used together otherwise a GPF will occur.
-Stephen
At 14 FEB 2000 01:30PM Anders Lindholt wrote:
I have put one extra column to the edittable. The row containg the colorcode ( see utility - choosecolor ).
After that I have hide the extra column away. I use the gotfocus event to display the color according to Stephen msg.
best regards
anders