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

DefaultWidth Constant

Specifies the default height of the authorization form, in pixels.

#Declaration

Delphi
const DefaultWidth: Integer = 500;

#Returns

Type
Integer

#Remarks

The form’s constructor uses this writable typed constant value to initialize the Width property. You can use the DefaultWidth and DefaultHeight writable typed constants to change the initial dimensions of the form that all OAuth 2.0-compatible authorization agent components display every time they attempt to receive an online account authorization code.

TdxAuthorizationForm.DefaultWidth := 600;
  TdxAuthorizationForm.DefaultHeight := 600;
See Also