Returns the menu items used for popup menu when the button is clicked. For submenus see <<Get Submenu(index).
The example below creates a menu containing “A”, “B”, and “C” with “A” having a submenu “A1” and “A2” and “B” having a submenu “B1”, “B2”, and “B3”. <<Get Submenu(inc) returns the number of submenu items under each indexed menu item.
Consider including the new message <<Update Window rather than including Wait(0). The problem with using Wait(n) is knowing how large n should be.
Many display box messages, such as <<Set Text, automatically mark the box as invalid, so the <<Inval message is usually unnecessary. Some interactive scripts that use sliders with JSL callbacks may need <<Update Window to keep various parts of the display synchronized with the slider.
Pref( Save Image DPI( <number> ) );
The quoted location of the saved file. You must include the .pptx extension in the filename. An existing file with the same name is overwritten.
Optional. The quoted path name and file name of a custom PowerPoint template. Without this argument, JMP uses the default template located in the pptx folder of the installation directory.
Include a simple table in your template, or a default table format is applied to report tables. For an example on Windows, see /pptx/JMPExportTemplate.pptx in the JMP installation folder.
‒
|
n inserts the slides as the nth slide number.
|
‒
|
"Begin " inserts the slides at the beginning of the presentation.
|
‒
|
"End" inserts the slides at the end of the presentation.
|
Optional. Determines which slides are replaced in an existing presentation. The arguments are n, "Begin", and "End" as described for Insert.
‒
|
"None" omits the slide title above the graphic and the outline titles.
|
‒
|
"Hide" omits the outline titles.
|
‒
|
"TopLeft", "TopRight", "BottomLeft", "BottomRight" determine the position of the outline titles on the slide. The outline title and its parent titles are included.
|
Optional. The quoted format of the embedded graphics. Options are "Native", "EMF", "PNG", "JPG", "BMP", "GIF", "TIF". On Windows, the native format is EMF. On Macintosh, the native format is PDF. See “Notes” for compatibility issues. Without this argument, JMP applies the “Image Format for PowerPoint” General preference.
Windows does not support the native PDF graphics produced on Macintosh. Macintosh does not support the native EMF graphics produced on Windows. For cross-platform compatibility, specify "PNG", "JPG", "GIF", or "TIF".
Sets the page settings. Margins are set in inches. Scale variable s is a number in the range of 10 (for 1000%) to 0.2 (for 20%) with the default as 1 (for 100%). If portrait is True the page is oriented for portrait, otherwise the page is landscape. Paper size is a string specifying the paper size, for example, "Letter" or "Legal".
‒
|
Specify the Y axis as axis box(1).
|
‒
|
Specify the X axis as axis box(2).
|
Sets the background color for a border box. Specify a "color name" or a list of RGB values. For example:
Sets the border color for a border box. Specify a "color name" or a list of RGB values. For example:
Sets the border style for a border box. Specify the style as one of the following numbers or keywords: 0 ("Solid"), 1 ("Dotted"), 2 ("Dashed"), 3 ("DashDot"), or 4 ("DashDotDot"). For example:
An optional argument that specifies the order in which the graphics elements are drawn. The value can be the keyword Back or Forward or an integer that specifies the drawing order for a number of graphics elements. 1 means the object is drawn first.
Returns a list of the current margins in pixels for the tab box in this order: {left, top, right, bottom}.
Locks the first n columns. You cannot drag the locked columns or drag columns before them.
Invalidate the display box. The window updates either when the <<Update Window message is sent or when the operating system has time for the update. See <<Reshow for another method.
Invalidates the display box and updates the window with the new content. See <<Inval and <<Update Window messages if more control over timing of the update is required.
Updates or refreshes the window holding the display box if there are invalidated regions. See also <<Inval and <<Reshow messages for additional methods.