Skip to main content
All docs
V26.1
  • TdxSplashFormBase.BeginUpdate Method

    Postpones all form redraw operations that reflect setting and visual element changes until an EndUpdate procedure call.

    Declaration

    procedure BeginUpdate;

    Remarks

    Every time a form or visual element setting is changed, the Splash Form is redrawn to reflect the change. Enclose multiple form/visual element setting changes between BeginUpdate and EndUpdate procedure calls to avoid excessive redraw operations.

    BeginUpdate/EndUpdate and Batch Changes

    A BeginUpdate procedure call disables notifications and postpones all changes until an EndUpdate call. A subsequent EndUpdate call does the following:

    • Re-enables change notifications and corresponding redraw operations
    • Applies all changes made after a BeginUpdate call
    • Sends corresponding notifications in a batch
    • Redraws the visible Splash Form

    Note

    Ensure that every BeginUpdate procedure call is followed by an EndUpdate call, even if an exception occurs. Otherwise, the form remains frozen and unresponsive.

    See Also