Skip to main content

DefaultWidth Constant

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

Declaration

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