Vcl.Controls.TWinControl.UpdateRecreatingFlag
Delphi
procedure UpdateRecreatingFlag(Recreating: Boolean);
C++
void __fastcall UpdateRecreatingFlag(bool Recreating);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TWinControl |
Description
Toggles the csRecreating flag in the ControlState property.
Switches on or off the csRecreating flag in the ControlState property, if the Recreating parameter is True or False, correspondingly.
If the control has any children, then the UpdateRecreatingFlag method is applied to all the children, using the same Recreating parameter.