ObjectDCL Banner

AlternateColor Property

Description

Sets the alternating row or column color of the grid control.

Type

This property is a long integer and is a color.

Applies For

EditableGrid.

Invoking From Old API

Can be passed as "AlternateColor" to Control_SetProperty and Control_GetProperty's string property name where applicable.

Getter Example

CopyCode imageCopy Code
; Get the property from the control
(setq Value (Odcl_Control_GetAlternateColor MyProject_MyForm_MyControl))

(setq Value (Odcl_Control_GetAlternateColor "MyProject" "MyForm" "MyControl"))

Setter Example

CopyCode imageCopy Code
; Set the property to the control
(Odcl_Control_SetAlternateColor MyProject_MyForm_MyControl 5)

(Odcl_Control_SetAlternateColor "MyProject" "MyForm" "MyControl" 5)