Skip to main content

TdxStatusBarPanelStyle.BeginUpdate Method

Prevents the status bar control from being updated until the EndUpdate method is called.

Declaration

procedure BeginUpdate;

Remarks

Call the BeginUpdate method to prohibit status bar updates. This can be used when you need to perform several consecutive modifications that affect the appearance of the control. If you do not use this method, the control will be updated after each modification. If your code is enclosed in a BeginUpdate and EndUpdate method pair, the control will be updated only once, which gives you a significant performance benefit.

Note

Calling the BeginUpdate method is the same as calling the BeginUpdate method of the control’s panel collection. The collection of panels can be accessed via the Panels property of the status bar.

See Also