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

dxPDFViewerPasswordDialogClass Variable

Specifies the form class of the “Enter Password” dialog that a PDF Viewer control invokes.

#Declaration

Delphi
var dxPDFViewerPasswordDialogClass: TdxPDFViewerPasswordDialogFormClass = TdxPDFViewerPasswordDialogForm;

#Variable Value

Type Description
TdxPDFViewerPasswordDialogFormClass

The class-reference to an “Enter Password” dialog class.

#Remarks

Assign a reference to a TdxPDFViewerPasswordDialogForm class descendant to this global variable to replace the built-in “Enter Password” dialog with a custom implementation. This is useful if you need to adjust the default dialog layout or customize available UI elements.

The ShowPasswordDialog global function uses the dxPDFViewerPasswordDialogClass global variable to call the constructor of the active “Enter Password” dialog form.

See Also