Vcl.Controls.TControl.CheckNonMainThreadUsage
Delphi
procedure CheckNonMainThreadUsage;
C++
void __fastcall CheckNonMainThreadUsage();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TControl |
Description
Raised an EInvalidOperation exception when called on a non-main thread and RaiseOnNonMainThreadUsage is set to True
.