TcxHintStyle.BeginUpdate Method
In This Article
Postpones hint style setting changes until an EndUpdate procedure call.
#Declaration
Delphi
procedure BeginUpdate;
#Remarks
Every time you change a hint style setting, the hint controller redraws the displayed hint to reflect the change. Enclose multiple hint style setting changes between BeginUpdate
and EndUpdate procedure calls to avoid UI flickering due to excessive redraw operations and improve performance.
#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 redraw operations
- Applies all changes made after a
BeginUpdate
call - Sends corresponding notifications in a batch
- Redraws the visible hint window
Note
Ensure that every Begin
procedure call is followed by an End
See Also