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

    Provides access to an Image UI element on the form.

    Declaration

    function Image(const AName: string = ''): TImage;

    Parameters

    Name Type Description
    AName string

    Optional. Specifies the target Image UI element name.

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

    Returns

    Type Description
    TdxSplashFormBase.TImage

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

    If no UI element is found, an exception occurs.

    Remarks

    TdxSplashFormBase.TImage displays a static image, similar to the TcxImage editor.

    Call the Image function to access an Image UI element and modify its settings.

    Note

    The target UI element must be defined within the current form. Otherwise, an Image 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.

    VCL Shared Libraries: The "Splash Form Designer" Dialog

    Other UI Element Access Methods

    Animation
    Provides access to an Animation/Activity Indicator UI element on the form.
    GetItem
    Provides access to any UI element on the form by type and name. Use the template parameter (T) to specify the target UI element type.
    Progress
    Provides access to a Progress Bar UI element on the form.
    Text
    Provides access to a Text/Label UI element on the form.
    See Also