guides:programming:programmers_reference_manual:oddrowcolor

ODDROWCOLOR Property

Edit table.

Set and retrieve the RGB color of odd numbered rows within an edit table.

The ROWSHADE property must be set to TRUE prior to setting the ODDROWCOLOR property.

oddRowColor = Get_Property(objectname,”ODDROWCOLOR”)

existingRowColor = Set_Property(objectname,”ODDROWCOLOR”, rgbValue)

Values passed in Set_Property():

ValueDescription
rgbValueRGB Color value.

Values returned by Get_Property and Set_Property

ValueDescription
oddRowColorThe RGB color value.
existingRowColorThe RGB color value of the row, when Set_Property was run.
/* Set the ODD rows in an edit table to have a blue background and set the even rows to have a yellow background */

$Insert Colors

$Insert Logical

rowShade = Set_Property(CtrlEntID,'ROWSHADE',true$)

oddRowColor = Set_Property(CtrlEntID,'ODDROWCOLOR',blue$)

evenRowColor = Set_Property(CtrlEntID,'EVENROWCOLOR',yellow$)
 
  • guides/programming/programmers_reference_manual/oddrowcolor.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1