Skip to main content
All docs
V26.1
  • TdxSplashFormBase.Text(string) Method

    Provides access to a Text/Label UI element on the form.

    Declaration

    function Text(const AName: string = ''): TText;

    Parameters

    Name Type Description
    AName string

    Optional. Specifies the target Text/Label UI element name.

    If you omit the AName parameter, the function returns the default/predefined Text/Label UI element (if the form contains such a content item).

    Returns

    Type Description
    TdxSplashFormBase.TText

    Returns the Text/Label UI element with the name passed as the AName parameter (or the default Text/Label UI element if the optional parameter is omitted).

    If no UI element is found, an exception occurs.

    Remarks

    TdxSplashFormBase.TText is a simple multi-line label you can use within a Splash or Wait Form layout.

    Call the Text function to access a Text/Label UI element and modify its settings.

    Note

    The target UI element must be defined within the current form. Otherwise, a Text function call raises an exception.

    Design Splash Forms & Manage UI Elements

    To add/remove individual UI elements to/from a Splash or Wait Form, select the target form in the Project Settings dialog and click Customize… to display the Splash Form Designer dialog.

    Other UI Element Access Methods

    Animation
    Provides access to an Animation/Activity Indicator UI element on the form.
    GetItem
    Image
    Progress
    See Also