Skip to main content

TdxAlertWindow.EndUpdate Method

Enables updates of the current alert window after a BeginUpdate method call.

Declaration

procedure EndUpdate;

Remarks

Each time you modify any option within an alert window’s Options-prefixed property sets, the window initiates complete content repainting to reflect these changes. If you need to change several options at once, a sequence of appearance updates occurs. To postpone these updates, enclose code that modifies Options property values within the BeginUpdate/EndUpdate method blocks.

The BeginUpdate method postpones updates. To apply the changes made, you should call the EndUpdate method. Ensure that every call to BeginUpdate has a corresponding call to the EndUpdate method, even if an exception occurs.

See Also