Skip to main content

TcxSchedulerEvent.ShareWithResource(Variant) Method

Assigns the user event to the resource specified by the AResourceItem or AResourceID parameter.

Declaration

procedure ShareWithResource(AResourceID: Variant); overload;

Parameters

Name Type
AResourceID Variant

Remarks

The new resource is added to the collection of resources that the user event is shared between.

The ShareWithResource method takes either a TcxSchedulerStorageResourceItem object or its id as an argument.

See Also