TcxCustomScheduler.EditEventUsingDialog(TcxSchedulerControlEvent,Boolean,Boolean) Method
Invokes the Event dialog for the target user event.
Declaration
procedure EditEventUsingDialog(AEvent: TcxSchedulerControlEvent; ACheckReadOnly: Boolean = True; AForcePatternEditing: Boolean = False);
Parameters
Name | Type | Description |
---|---|---|
AEvent | TcxSchedulerControlEvent | The target user event. |
ACheckReadOnly | Boolean | If False, the Event dialog allows a user to modify the target user event even if the scheduler is in read-only mode. If True, the dialog shows the target user event in the current scheduler mode. |
AForcePatternEditing | Boolean | If False, the dialog loads the pattern of the target event. If True, a procedure call shows a dialog that allows a user to select the user event’s pattern or occurrence. This parameter has an effect only if the target user event is recurring. |
Remarks
The Event dialog allows a user to view and modify user events.
The following code invokes the Event dialog for the first selected user event:
if cxScheduler1.SelectedEventCount > 0 then
cxScheduler1.EditEventUsingDialog(cxScheduler1.SelectedEvents[0], False, True);
See Also