Edit table.
A boolean property that will paint alternating edit table rows in different colors.
rowShade = Get_Property (objectname, ”ROWSHADE”)
existingRowShade = Set_Property (objectname, ”ROWSHADE”, bValue)
Values passed in Set_Property():
Value | Description |
---|---|
bValue | Boolean true (1) or false (0) |
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. |
EVENROWCOLOR Property, ODDROWCOLOR Property
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) |