RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomForm.ActiveOleControl Property

Specifies the OLE control on the form that reacts to changes in focus.

Pascal
property ActiveOleControl: TWinControl;
C++
__property TWinControl * ActiveOleControl;

Use ActiveOLEControl to get or set an OLE control on the form that reacts to changes in focus. 

If ActiveOLEControl is not nil (Delphi) or NULL (C++), the user interface for the specified OLE control is deactivated when it is not focused. Also, when the form receives or loses focus, the document window for the specified OLE control is activated or deactivated respectively. 

 

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