Vcl.ComCtrls.TComboBoxExStrings.SetUpdateState
Delphi
procedure SetUpdateState(Updating: Boolean); override;
C++
virtual void __fastcall SetUpdateState(bool Updating);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TComboBoxExStrings |
Description
Performs internal adjustments before or after a series of updates.
Vcl.ComCtrls.TComboBoxExStrings.SetUpdateState inherits from Vcl.StdCtrls.TCustomComboBoxStrings.SetUpdateState. All content below this line refers to Vcl.StdCtrls.TCustomComboBoxStrings.SetUpdateState.
Performs internal adjustments before or after a series of updates.
SetUpdateState is called at the beginning or end of a series of updates. When the BeginUpdate method is first called and the TCustomComboBoxStrings object is not already in the middle of an update, SetUpdateState is called with Updating set to true. When the EndUpdate method is called and it cancels out the last unmatched call to BeginUpdate, SetUpdateState is called with Updating set to false.
SetUpdateState refreshes the combo box when Updating is false, so that the combo box reflects the new set of strings.