Purpose

.OddEvenType allows you to specify if the records in a Paging Cycle should be displayed in alternating colours.
 

Syntax

ObjectReference.OddEvenType = Value
 

Operation

ObjectReference is the Tag Name of the Paging Cycle object
Value
is valid
alphanumeric variable or string literal.
 

Remarks

The value of this property can only be set, not retrieved.

The valid values are
Row and Solid.

Row
option specifies that alternate rows will be different colors.  At least one such colour must be defined.  The colours are set by the values of the .OddColor and .EvenColor properties.

If only one color is defined, the other rows will use the default colour. Both colours should be distinct from the .HighlightColor used to distinguish a selection region.

Solid
option specifies that all records will be displayed in the same colour.

The default value is
Solid 

Example

To set the display style to Row for a Paging Cycle whose Tag Name is OrderScreen:

OrderScreen.OddEvenType = "Row"
 

Comment on this topic

Topic ID: 510077