Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

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

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/bb68c10d924055bd8525687e0059184f.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1