*IsActive()

Indicates the active page in the page list and the active window on each page.

Syntax

*IsActive()

Application

MotionView, HyperView, HyperGraph, TextView, and MediaView.

Context

*BeginPage()

*BeginWindow()

Example

*BeginPage()
	*IsActive()
	*title("Force-5", On)
	*Layout(1)
	*CurrentTimeStep(0)
	*BeginWindow(Plot)
		*IsActive()
		• • •
	*EndWindow()
*EndPage()

Comments

The active page is the page currently displayed. An active window is the window on a page that has been given focus by clicking on it with MB1 or MB2. The active window is indicated by a cyan border.

*IsActive() is used in both page blocks and window blocks. Only one page in a session file can contain the *IsActive() statement. Each page can have a single active window. If more than one *IsActive() statement occurs in a block, the last occurrence is used.

If *IsActive() is not supplied for a page, the first page is activated.

If *IsActive() is not supplied for a window, the first window is activated.