Applies to

Edit table.

Description

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

Note: The ROWSHADE property must be set to TRUE prior to setting the EVENROWCOLOR property.

Usage

evenRowColor = Get_Property (objectname,”EVENROWCOLOR”)existingRowColor = Set_Property (objectname,”EVENROWCOLOR”, rgbValue)

Remarks

Values passed in Set_Property():

ValueDescription
rgbValueRGB Color value.

Returns

Values returned by Get_Property and Set_Property

ValueDescription
evenRowColorThe RGB color value.
existingRowColorThe RGB color vaaue of the row, when Set_Property was run.

See Also

ROWSHADE propertyODDROWCOLOR property

Example

/* 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$)
  • No labels