Back to Devexpress

TcxSchedulerDBStorageFieldNames.Options Property

vcl-cxschedulerdbstorage-dot-tcxschedulerdbstoragefieldnames-01e6bee3.md

latest2.9 KB
Original Source

TcxSchedulerDBStorageFieldNames.Options Property

Maps all user event state properties to the dataset field where the corresponding bitwise flags are stored.

Declaration

delphi
property Options: TcxFieldName index 6 read; write;

Property Value

TypeDescription
TcxFieldName

The name of the dataset field that stores all event states as bitwise flags within integer values.

|

Remarks

Use the Options property to bind the following state properties of user events to an integer dataset field to store them as bitwise flags within integer values:

AllDayEventSpecifies whether the user event is an all-day event (an event that lasts at least 24 hours or longer).EnabledThis property is used as a custom property.IsGroupSpecifies the task as a task group in the Gantt View.ReminderSpecifies whether the reminder is on or off.ExpandedSpecifies whether the predecessor task is expanded.

Every integer value stored in the bound dataset field stores values of all listed properties as bitwise flags.

Example

delphi
cxSchedulerDBStorage1.FieldNames.Options := mdEventOptions.FieldName;
cpp
cxSchedulerDBStorage1->FieldNames->Options = mdEventOptions->FieldName;

Note

You need to bind the Options property to the corresponding dataset field to be able to store user events in a data-aware scheduler storage component. The bound dataset field must meet the following requirements:

  • The field type is TIntegerField.
  • The NULL value is allowed for the field if a user event’s EventType property is set to etCustom.

The Options property’s default value is an empty string.

See Also

Applying The Recurrence Pattern

Bound Mode

TcxSchedulerDBStorageFieldNames Class

TcxSchedulerDBStorageFieldNames Members

cxSchedulerDBStorage Unit