Vcl.OleCtrls.TOleControl.EnableModeless
Delphi
function EnableModeless(fEnable: BOOL): HResult; stdcall;
C++
HRESULT __stdcall EnableModeless(System::LongBool fEnable);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.OleCtrls.pas Vcl.OleCtrls.hpp |
Vcl.OleCtrls | TOleControl |
Description
Enables or disables the modeless dialogs of the ActiveX control.
Call EnableModeless to enable or disable the modeless dialog boxes of the ActiveX control. To make modal dialogs work properly, you must perform a call to the EnableModeless methods with the fEnable parameter set to False.