Skip to main content

TcxCustomSchedulerStorage.IsActive Method

Identifies if the event persistence manager is ready for use by the associated scheduler control.

Declaration

function IsActive: Boolean; virtual;

Returns

Type
Boolean

Remarks

This function returns True if the associated scheduler control can update the event persistence manager’s content; otherwise – False.

This IsActive function implementation always returns True, since the base persistence manager functionality does not impose any restrictions on the capability to store and manipulate user events. The TcxCustomSchedulerStorage class descendants override the IsActive function with their own implementations to reflect the underlying event data store’s availability in the Multiple Storage, Online, and Bound modes.

Note

Calling the event persistence manager’s PostEvents procedure has no effect if the IsActive function returns False.

See Also