HyperWorks Desktop

*IsActive()

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

*IsActive()

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

Previous topic Next topic No expanding text in this topic  

*IsActive()

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

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*IsActive()

Example

*BeginPage()

 *IsActive()

 *title("Force-5", On)

 *Layout(1)

 *CurrentTimeStep(0)

 *BeginWindow(Plot)

         *IsActive()

         • • •

 *EndWindow()

*EndPage()

Application

MotionView, HyperView, HyperGraph, TextView, and MediaView.

Context

*BeginPage()

*BeginWindow()

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.

See also

 

*BeginPage()

*BeginWindow()

*CurrentTimeStep()

*EndPage()

*Layout()

*Title()

List of Session Statements