Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxBarManager.EndUpdate(Boolean) Method

Enables updating of a bar manager after a call to the BeginUpdate method.

#Declaration

Delphi
procedure EndUpdate(ACheckBarsChanges: Boolean = True);

#Parameters

Name Type
ACheckBarsChanges Boolean

#Remarks

Each time you modify a bar manager’s property which influences the appearance of toolbars and their items, bar manager is updated to reflect these changes. If you need to change several properties at once, flickering may occur. In this instance you can wrap the code that makes the changes in calls to the BeginUpdate/EndUpdate methods to prevent this.

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.

Instead of the BeginUpdate and EndUpdate methods you can use the LockUpdate property.

ACheckBarsChanges specifies whether to repaint bars if they were changed. Set ACheckBarsChanges to True, to redraw bars.

See Also