RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleContainer.State Property

Describes the state of the OLE object.

Pascal
property State: TObjectState;
C++
__property TObjectState State;

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  

 

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