Share

ViewFrame Object


Description

ViewFrame Object.

Methods

Name Description
Arrange Method that tiles the views in the view frame window.
Close Method that closes this view frame.
Close2 Method that closes this view frame. Close a ViewFrame may cause documents to close, use the argument to specify the documents to save if necessary. This does nothing if try to close the default ViewFrame.
Move Method that moves the view frame window.
RestorePreviousLayout Method that restores the previous layout for this view frame window.

Properties

Name Description
Application Read-only property that returns the root Application object.
Caption Read-only property that returns the caption of this view frame.
Height Read-write property that gets and sets the height of the view frame.
IsDefault Read-only property that returns whether this view frame is the default one.
Left Read-only property that returns the distance between the left edge of the screen and left edge of the view frame.
Parent Gets the parent object from whom this object can logically be reached.
Top Read-only property that returns the distance between the top edge of the screen and top edge of the view frame.
Type Read-only property returning kViewFrameObject indicating this object’s type.
ViewTabGroups Read-only property that returns the ViewTabGroupsEnumerator collection object.
ViewTabs Read-only property that returns the view tabs that are located in this view frame.
Width Read-write property that gets and sets the width of the view frame.
WindowState Read-write property that gets and sets the window state of this view frame.

Accessed From

Application.ActiveViewFrame, View.ViewFrame, ViewFramesEnumerator.Item, ViewTab.MoveToNewViewFrame, ViewTab.ViewFrame, ViewTabGroup.MoveToNewViewFrame, ViewTabGroup.ViewFrame

Samples

Name Description
Dock browser pane to a custom ViewFrame This sample demonstrates how to dock the browser pane to a custom ViewFrame.
Move view tab between different view frames This sample demonstrates how to move views using ViewTab between different view frames.

Version

Introduced in version 2021

Was this information helpful?