Vcl.OleCtnrs.TOleContainer.AutoActivate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AutoActivate: TAutoActivate read FAutoActivate write FAutoActivate default aaDoubleClick;

C++

__property TAutoActivate AutoActivate = {read=FAutoActivate, write=FAutoActivate, default=2};

Properties

Type Visibility Source Unit Parent
property published
Vcl.OleCtnrs.pas
Vcl.OleCtnrs.hpp
Vcl.OleCtnrs TOleContainer

Description

Determines how the object in an OLE container is activated.

Set AutoActivate to specify what actions activate the OLE object. AutoActivate takes one of the values in the following table:



Values Meaning

aaManual

The OLE object must be activated programmatically by calling DoVerb (ovShow).

aaGetFocus

The OLE object is activated when the OLE container gets focus (by clicking on it with the mouse or pressing Tab to move the focus to it).

aaDoubleClick

(Default) The OLE object is activated by double-clicking it or pressing Enter while the container has the focus.



See Also