guides:programming:programmers_reference_manual:rowshade

ROWSHADE Property

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():

ValueDescription
bValueBoolean true (1) or false (0)

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.
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)
 
  • guides/programming/programmers_reference_manual/rowshade.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1