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():
Value | Description |
---|---|
bValue | Boolean true (1) or false (0) |
Returns
Values returned by Get_Property and Set_Property
Value | Description |
---|---|
rowShade | the Boolean status of the control’s rowshade. |
existingState | the Boolean status of the control’s rowshade, when Set_Property was run. |
See Also
EVENROWCOLOR Property, ODDROWCOLOR 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)