cxShowRecurrenceEditor(TcxSchedulerControlEvent,TcxLookAndFeel,Boolean,Boolean,Boolean,Boolean,TControl) Method
Invokes the Event recurrence dialog used for editing the recurrence details of the AEvent user event.
Declaration
function cxShowRecurrenceEditor(AEvent: TcxSchedulerControlEvent; ALookAndFeel: TcxLookAndFeel; out AModified: Boolean; AReadOnly: Boolean = False; AConfirmLossOfExceptions: Boolean = True; AIsInternalActivation: Boolean = False; AControl: TControl = nil): Boolean;
Parameters
Name | Type |
---|---|
AEvent | TcxSchedulerControlEvent |
ALookAndFeel | TcxLookAndFeel |
AModified | Boolean |
AReadOnly | Boolean |
AConfirmLossOfExceptions | Boolean |
AIsInternalActivation | Boolean |
AControl | TControl |
Returns
Type |
---|
Boolean |
Remarks
Use the cxShowRecurrenceEditor function to display the Event recurrence dialog used for editing the AEvent user event‘s recurrence details. This function returns True if the OK button, located in the dialog, was pressed.
The ALookAndFeel parameter represents the look and feel settings for the dialog’s controls;
The AModified parameter is used to pass the value returned by the cxShowRecurrenceEditor function and specifies whether the content being edited was changed. If the content was changed the value returned is True;
The AReadOnly parameter specifies whether any changes can be made in the AEvent user event. Set the AReadOnly parameter to True value to prevent any changes from being made.
The AConfirmLossOfExceptions parameter specifies whether the confirmation dialog will appear when an end-user updates the recurrence details in the dialog. The confirmation dialog will be shown to the end-user if there is any custom occurrence or exception in the chain of reoccurrences, spawned from the AEvent user event. It appears when the end-user presses the OK button, located in the dialog, and asks the end-user if it’s okay to loose any exceptions associated with the AEvent user event. Set the AConfirmLossOfExceptions parameter to False to prevent the confirmation dialog from appearing.
The AIsInternalActivation parameter specifies whether changes which have been made in the Event recurrence dialog are committed or rolled back. This parameter should only be set to True when the Event recurrence dialog is invoked from the Event dialog. In all other cases set the AIsInternalActivate parameter to False.