Vcl.OleCtnrs.TOleContainer.State

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property State: TObjectState read GetState;

C++

__property TObjectState State = {read=GetState, nodefault};

Properties

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

Description

Describes the state of the OLE object.

Read State to determine the state of the OLE object and its server application. State has one of the following values:



Values Meaning

osEmpty

There is no OLE object in the container.

osLoaded

There is an OLE object in the container, but its server application isn't currently running.

osRunning

The OLE object's server is running.

osOpen

The OLE object is open in a separate window.

osInPlaceActive

The OLE object is activated in place, but hasn't yet merged its menus or toolbars. This is an intermediate state; the State property will shift to osUIActive as soon as the menus and toolbars have been merged.

osUIActive

The OLE object is activated in place and menus and toolbars have been merged



See Also