Vcl.OleCtrls.TOleControl.DeactivateAndUndo
Delphi
function DeactivateAndUndo: HResult; stdcall;
C++
HRESULT __stdcall DeactivateAndUndo();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.OleCtrls.pas Vcl.OleCtrls.hpp |
Vcl.OleCtrls | TOleControl |
Description
Deactivates the in-place session and reverts the changes.
Call DeactivateAndUndo to deactivate the current in-place session of the ActiveX control. DeactivateAndUndo also notifies the control to revert to the internally stored undo state.