Contents - Index


ShowWindow (Macro Command)

 

ShowWindow Arrays

Bring the Arrays table the front

 

ShowWindow Diagram 'Name'

Bring the Diagram window to the front.  The name of a child Diagram window can be optionally provided as a string constant (within single quotes) or a string variable.  If no name is provided, the main diagram window will be shown.

 

ShowWindow EES

If the EES application is minimized or hidden, this macro command will cause it to be visible.

 

ShowWindow Equations  'TabName'

Bring the Equations window to the front.  TabName is optional.  If an Equation window tab with TabName exists, this tabbed window will be selected.

 

ShowWindow ErrorMessages

Normally, error message (including those generated by the Call Error procedure) are quietly written to the Macro log file rather than shown on the screen.  However, this macro command will cause the error messages to be displayed in the same way they would appear if they were run as a normal EES program.  

 

ShowWindow Format

Bring the Formatted Equations window to the front

 

ShowWindow Integrals

Bring the Integrals table the front.

 

ShowWindow Lookup 'Table Name'

Bring the Lookup table to the front.  The name of the Lookup table can be optionally provided as a string constant (within single quotes) or a string variable in which case the table having this name on its tab will be selected. 

 

ShowWindow Parametric 'Table Name'

Bring the Parametric table to the front.  The name of the Parametric table can be optionally provided as a string constant (within single quotes) or a string variable in which case the table having this name on its tab will be selected.

 

ShowWindow Plot 'Plot Name'

Bring the plot to the front.  The name of the plot can be optionally provided as a string constant (within single quotes) or a string variable in which case the plot window having this name on its tab will be selected.  Plot Name can also be an integer indicating the position of the plot tab from the left, e.g., Show Plot 2.

 

ShowWindow Progress

Normally, a series of EES commands initiated from a macro command may not show the Progress dialog.  However, if the macro has been started from the Calculate button in the Diagram window, it may be desirable to show the Progress dialog to reassure the user that the calculations are proceeding  in a long calculation.  Including this macro command will ensure that the Progress dialog is visible.  Use HideWindow Progress to not show the Progress dialog.

 

ShowWindow Residuals

Bring the Residuals window to the front.

 

ShowWindow Solution 'Name'

Bring the Solutions window to the front.  The name of a tab in the Solutions window can be optionally provided as a string constant (within single quotes) or a string variable in which case the solution window having this name on its tab will be shown.  Setting Name to 'Key' will display the Key variables window if it exists.  The main solution window has name 'Main'. 

 

ShowWindow WarningMessages

Normally, warning message (including those generated by the Call Warning procedure) are quietly written to the Macro log file rather than shown on the screen.  However, this macro command will cause the warning messages to be displayed in the same way they would appear if they were run as a normal EES program.  

 

ShowWindow Macro

If the Macro window is in use this command will make it visible and move it in front of other windows.

 

Optional SIze and Position Specifications

The ShowWindow macro command may include one or more of the following keywords to set the size and/or position of the specified window. 

LEFT=

TOP=

WIDTH=

HEIGHT=

 

A numerical value or EES variable that has been set to a numerical value along with the specification of in, cm or px must follow each keyword.

 

Example:

ShowWindow Plot 1 Width=14 cm Height=10 cm Left=100 px  Top=100 px

 

MacroCommands