Skip to main content

TcxCustomScheduler.PasteFromClipboard Method

Inserts the user event(s) from the scheduler’s clipboard into the selected time block(s).

Declaration

procedure PasteFromClipboard;

Remarks

An end-user can allocate the user event(s) from the scheduler’s clipboard to the selected time block(s), if the scheduler’s EventOperations.ReadOnly property is set to False and the scheduler’s EventOperations.Creating property is set to True. If multiple user events were copied then the earliest user event will be scheduled at the selected time block. The location of any additional user events is dictated by the time they are scheduled for (the next earliest event is the next one inserted).

A new TcxSchedulerEvent instance of the copy is created (a corresponding record in the scheduler storage is inserted). Except the unique identifier and the scheduled time, the clone inherits the details of its source. If the source is the selected occurrence of the recurring user event, then the target will loose all the recurrence information. The new user event will have no relationship to that recurrence.

If the selected user event is moved through the scheduler’s clipboard (see the CutToClipboard method) into the new scheduled location, then it preserves the unique identifier and other details, except the scheduled time and recurrence data.

See Also