Applies to

Edit table.

Description

A boolean property that will paint alternating edit table rows in different colors.

Usage

rowShade = Get_Property (objectname”ROWSHADE”)

existingRowShade = Set_Property (objectname”ROWSHADE”bValue)

Remarks

Values passed in Set_Property():

ValueDescription
bValueBoolean true (1) or false (0)

Returns

Values returned by Get_Property and Set_Property

ValueDescription
rowShadethe Boolean status of the control’s rowshade.
existingStatethe Boolean status of the control’s rowshade, when Set_Property was run.

See Also

EVENROWCOLOR PropertyODDROWCOLOR Property

Example

Declare function Get_Property, Set_Property
 
/* retrieve the ROWSHADE property of the TABLE_1 control and if true set to false and vice versa. */
 
rowShade = Get_Property(@window:'.TABLE_1','ROWSHADE')
if rowShade then
   newShade = 0
end else
    newShade = 1
end
existingRowShade = Set_Property(@window:'.TABLE_1','ROWSHADE',newShade)
  • No labels