Skip to main content
All docs
V26.1
  • TdxSplashFormBase Class

    The base class for Splash and Wait Forms.

    Declaration

    TdxSplashFormBase = class(
        TObject
    )

    Remarks

    The TdxSplashFormBase class implements common functionality for TdxSplashForm and TdxWaitForm classes and declares all required nested types and Splash Form widget classes (derived from the TdxSplashFormBase.TContentItem class).

    Main API Members

    The list below outlines key members of the TdxSplashFormBase class. You can use these members to hide/display a Splash Form and access/customize existing widgets.

    Size & Position

    BoundsRect | SetBounds
    Specify the form’s bounding rectangle.
    Left | Top
    Specify the form position (in relation to the target control/form).
    Position
    Allows you to switch between predefined and custom Splash Form positions.
    Width | Height
    Specify Splash Form dimensions.

    Visibility Management

    Hide
    Hides the Splash Form if it is visible.
    Visible
    Indicates if the form is visible.

    Terminal TdxSplashFormBase class descendants implement form type-specific visibility management methods:

    TdxSplashForm.Preview | TdxWaitForm.Preview
    Display a form in Preview mode. A user can click anywhere to close the displayed form.
    TdxSplashForm.Show | TdxWaiForm.Show
    Display a form. A user cannot close the displayed form. Call the Hide procedure to close the form.

    Splash Form Widgets

    Splash and Wait Forms use dedicated Splash Form widgets (derived from the TdxSplashFormBase.TContentItem base class) instead of controls (TControl descendants) to avoid excessive dependencies.

    Tip

    All API members in this section allow you to access and modify existing widgets placed on the Splash Form. If the target widget is not found, an exception occurs.

    Use the Splash Form Designer dialog to add new or remove existing widgets.

    Animation
    Provides access to an Animation/Activity Indicator widget (TdxSplashFormBase.TAnimation) on the form.
    GetItem
    Provides access to any widget on the form (by type and name).
    Image
    Provides access to an Image widget (TdxSplashFormBase.TImage) on the form.
    Progress
    Provides access to a Progress Bar widget (TdxSplashFormBase.TProgress) on the form.
    Text
    Provides access to a Text/Label widget (TdxSplashFormBase.TText) on the form.

    General-Purpose API Members

    BeginUpdate | EndUpdate
    Allow you to avoid excessive redraw operations during batch appearance setting changes.
    Color
    Specifies the form background color.
    Default
    Specifies if the Splash Form is used as default in the application.
    Name
    Specifies the Splash Form’s name (used in the Splash Form Manager and Application Settings).

    Terminal TdxSplashFormBase Class Descendants

    Do not use the TdxSplashFormBase class directly. Use the following descendants instead:

    TdxSplashForm
    A Splash Form designed to indicate application startup progress.
    TdxWaitForm
    A Wait Form you can display during time-consuming operations.

    Inheritance

    TObject
    TdxSplashFormBase
    See Also