Skip to main content
All docs
V26.1
  • TdxSplashFormBase.TAlignment Enum

    Enumerates content alignment options for Splash Form widgets.

    Declaration

    TAlignment = (
        Near,
        Center,
        Far
    );

    Members

    Name Description
    Near

    Default. Content is aligned to the near widget border.

    Near Horizontal Position

    The near border position depends on the application-wide BiDiMode property value:

    bdLeftToRight | bdRightToLeftNoAlign | bdRightToLeftReadingOnly
    Standard Splash/Wait Form layout. The left widget border is interpreted as near. Widget content is left-aligned.
    bdRightToLeft
    Mirrored Splash/Wait Form layout. The right widget border is interpreted as near. Widget content is right-aligned.
    Near Vertical Position
    Content is aligned to the near (top) widget border.
    Center

    Content is centered horizontally or vertically within widget boundaries.

    Far
    Far Horizontal Position

    The far border position depends on the application-wide BiDiMode property value:

    bdLeftToRight | bdRightToLeftNoAlign | bdRightToLeftReadingOnly
    Standard Splash/Wait Form layout. The right widget border is interpreted as far. Widget content is right-aligned.
    bdRightToLeft
    Mirrored Splash/Wait Form layout. The left widget border is interpreted as near. Widget content is left-aligned.
    Near Vertical Position
    Content is aligned to the far (bottom) widget border.

    Remarks

    Label widgets (all terminal TdxSplashFormBase.TCustomText descendants except for TdxSplashFormBase.TProgress) allow you to position content horizontally and vertically. TdxSplashFormBase.TAlignment value interpretation depends on context and the global BiDiMode setting.

    Note

    TdxSplashFormBase.TAlignment is a scoped enumeration type. Use the full type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxSplashFormBase.TAlignment.Center (in Delphi) or TdxSplashFormBase::TAlignment::Center (in C++Builder) to refer to the Center value in code.

    Direct TdxSplashFormBase.TAlignment Type Reference

    The following properties reference the TdxSplashFormBase.TAlignment type:

    TdxSplashFormBase.TItemAlignment.Horizontal
    Specifies horizontal content position within the label Splash Form widget.
    TdxSplashFormBase.TItemAlignment.Vertical
    Specifies vertical content position within the label Splash Form widget.
    See Also