Skip to main content

TcxSchedulerEvent.State Property

Specifies the availability status of the user event.

Declaration

property State: Integer read; write;

Property Value

Type
Integer

Remarks

The availability status is used for at-a-glance user event identification. There are four predefined states which can be assigned to the user event – free, tentative, busy and out of office. These states are denoted by the appropriate global constants – tlsBusy, tlsFree, tlsOutOfOffice, and tlsTentative.

To indicate the availability status of a user event in the scheduler a strip appears around it when it’s selected or to its left when it’s inactive. The strip is colored in the following manner:

Image Description
When the user event is marked as busy the strip is colored in blue.
When the user event is marked as free the strip is colored as clear.
When the user event is marked as out of office the strip is colored in violet.
When the user event is marked as tentative the strip is colored in blue with light diagonal stripes.

Note

The availability status is only visible in the Day View.

See Also