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

    Provides access to an Animation/Activity Indicator UI element on the form.

    Declaration

    function Animation(const AName: string = ''): TAnimation;

    Parameters

    Name Type Description
    AName string

    Optional. Specifies the target Animation/Activity Indicator UI element name.

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

    Returns

    Type Description
    TdxSplashFormBase.TAnimation

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

    If no UI element is found, an exception occurs.

    Remarks

    TdxSplashFormBase.TAnimation displays a looped animation, similar to the TdxActivityIndicator control.

    Call the Animation function to access an Animation/Activity Indicator UI element and modify its settings.

    Note

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

    GetItem
    Image
    Progress
    Text
    Provides access to a Text/Label UI element on the form.
    See Also