RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleContainer.AutoActivate Property

Determines how the object in an OLE container is activated.

Pascal
property AutoActivate: TAutoActivate;
C++
__property TAutoActivate AutoActivate;

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.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!