Vcl.Forms.TCustomForm.ActiveOleControl

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ActiveOleControl: TWinControl read FActiveOleControl write SetActiveOleControl;

C++

__property Vcl::Controls::TWinControl* ActiveOleControl = {read=FActiveOleControl, write=SetActiveOleControl};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TCustomForm

Description

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

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.

See Also