Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomScheduler.EditEventUsingDialog(TcxSchedulerControlEvent,Boolean,Boolean) Method

Invokes the Event dialog for the target user event.

#Declaration

Delphi
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.

Event Dialog

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