Sets or returns one of the values from the siViewState enum that describes the state of a view. View states are mutually exclusive.
/*
This example demonstrates how to set view states
*/
var layout = Desktop.ActiveLayout;
var v1 = layout.CreateView( "Explorer", "First" );
var v2 = layout.CreateView( "Explorer", "Second" );
var v3 = layout.CreateView( "Explorer", "Third" );
v1.State = siClosed; // destroys the view
v2.State = siMinimized; // hides the view but doesn't destroy it
v3.State = siNormal;
|