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

cxShowGoToDateDialog(TcxCustomScheduler,TcxLookAndFeel,TDateTime,TcxSchedulerViewMode) Method

Invokes the Go To Date dialog for the specified scheduler.

#Declaration

Delphi
function cxShowGoToDateDialog(AScheduler: TcxCustomScheduler; ALookAndFeel: TcxLookAndFeel; var ADate: TDateTime; out AViewMode: TcxSchedulerViewMode): Boolean;

#Parameters

Name Type
AScheduler TcxCustomScheduler
ALookAndFeel TcxLookAndFeel
ADate TDateTime
AViewMode TcxSchedulerViewMode

#Returns

Type
Boolean

#Remarks

The Go To Date dialog allows an end-user to display a specific date in the scheduling area and (optionally) switch its view mode:

{Image}

The cxShowGoToDateDialog global function returns True if an end-user closes the Go To Date dialog by clicking the OK button; otherwise – False.

The AScheduler parameter specifies a Scheduler control instance for which the dialog is invoked.

The ALookAndFeel parameter specifies the look and feel settings of the displayed dialog.

The ADate and AViewMode parameters return the date and view mode specified in the dialog, respectively. For detailed information on view modes available for the scheduling area, refer to the TcxSchedulerViewMode type description.

If you need to programmatically display a specific date within the Date Navigator and/or scheduling area, call the scheduler’s GoToDate function.

To allow an end-user to invoke the Go To Date dialog, you can link the GoToDate command to a UI element in your application.

See Also