Programmable Window Management
This page is currently incomplete, but you can find information about this topic at the links below:

- closewindow -- The closewindow statement closes the current window.
- datafocus -- The datafocus statement makes sure that Panorama is focused on data, not on a property panel.
- getmaxwindow -- The getmaxwindow statement retrieves the position and size of the of the largest possible window on the main screen.
- getwindow -- The getwindow statement retrieves the position and size of the current window.
- goform -- The goform statement switches the current window to a different form.
- hideaccessorypanel -- The hideaccessorypanel statement closes the current window's accessory panel.
- info("clonewindow") -- The info("clonewindow") function returns true if the current window was opened as a "clone" window.
- info("datasheetwindownumbers") -- The info("datasheetwindownumbers") function returns the unique ID numbers of all open data sheet windows.
- info("datasheetwindows") -- The info("datasheetwindows") function returns a carriage return separated list of all open Data Sheet windows.
- info("formwindownumbers") -- The info("formwindownumbers") function returns the unique ID numbers of all open form windows.
- info("formwindows") -- The info("formwindows") function returns a carriage return separated list of all open form windows.
- info("horizontalscrollbar") -- The info("horizontalscrollbar") function returns true if the current window's horizontal scrollbar is enabled, false if it is disabled.
- info("magicwindow") -- The info("magicwindow") function returns the name of the currently designated "magic window," if any.
- info("procedurewindownumbers") -- The info("procedurewindownumbers") function returns the unique ID numbers of all open procedure windows.
- info("procedurewindows") -- The info("procedurewindows") function returns a carriage return separated list of all open procedure windows.
- info("toolbar") -- The info("toolbar") function returns true if the current window's toolbar is visible, false if it is hidden.
- info("toolbarvisible") -- The info("toolbarvisible") function returns true if the current window has a visible tool bar.
- info("typeofwindow") -- The info("typeofwindow") function determines what type of view the current window contains.
- info("verticalscrollbar") -- The info("verticalscrollbar") function returns true if the current window's vertical scrollbar is enabled, false if it is disabled.
- info("windowdepth") -- The info("windowdepth") function returns the color depth of the current window.
- info("windowname") -- The info("windowname") function returns the name of the current window.
- info("windownumber") -- The info("windownumber") function returns the unique ID number of the current window.
- info("windownumbers") -- The info("windownumbers") function returns the unique ID numbers of all open windows.
- info("windowoptions") -- The info("windowoptions") function returns the names of any currently enabled window options,
- info("windowrectangle") -- The info("windowrectangle") function returns a rectangle defining the edges of the current window. The rectangle is in screen relative coordinates.
- info("windows") -- The info("windows") function builds a carriage return separated text array containing a list of all the currently open windows.
- info("windowtype") -- The info("windowtype") function returns a numeric value based on what type of view the current window contains.
- info("windowview") -- The info("windowview") function determines what type of view the current window contains.
- listwindownumbers( -- The listwindownumbers( function builds a text array containing a list of window ID numbers for all the open windows associated with a particular file.
- listwindows( -- The listwindows( function builds a text array containing a list of all the open windows associated with a particular file.
- makesecret -- The makesecret statement makes the current database disappear, while leaving it open in memory.
- openclonewindow -- The openclonewindow statement opens a clone of the current window.
- openprocedure -- The openprocedure statement opens a procedure in the current database in a new window.
- opensavedwindows -- The opensavedwindows statement opens windows that were open the last time file was saved.
- opensheet -- The opensheet statement opens the data sheet window for the current database in a new window.
- rememberwindow -- The rememberwindow statement remembers the currently active window, so that you can get back to it later.
- setwindow -- The setwindow statement specifies the dimensions (size and location) of the next window that is opened (with openform, opensheet, openprocedure etc.).
- setwindowoptions -- The setwindowoptions statement changes the attributes of the current window (tool bar, scroll bars, etc.).
- setwindowrectangle -- The setwindowrectangle statement specifies the dimensions of the next window that is opened by a procedure.
- showaccessorypanel -- The showaccessorypanel statement opens the current window's accessory panel.
- size -- The size statement changes the data sheet text size.
- toggleaccessorypanel -- The toggleaccessorypanel statement opens and closes the current window's accessory panel.
- updatingwindow( -- The updatingwindow( function returns true if in a formula that is being displayed on a form, otherwise false.
- Window ID Numbers -- ID numbers for identifying windows.
- window( -- The window( function returns the name of the current window.
- windowbox -- The windowbox statement specifies the dimensions (size and location) of the next window that is opened (with openform, opensheet, openprocedure etc.).
- windowcornerinitialize -- The windowcornerinitialize statement shifts a window to an edge or corner of the main screen.
- windowinfo( -- The windowinfo( function returns information about an open window: its name, type, database, location, etc.
- windowname -- The windowname statement changes the name of the current window.
- windowtoback -- The windowtoback statement sends a Panorama window to the back, behind all other windows (including non-Panorama windows).
- windowtocorner -- The windowtocorner statement shifts a window to an edge or corner of the main screen.
- zoomalign -- The zoomalign statement moves the current window to one of 9 positions on the computer's primary screen: top left, top center, top right, etc.
- zoomwindow -- The zoomwindow statement moves (*"zooms"*) the current window to a new position and size.
- zoomwindowrectangle -- The zoomwindowrectangle statement modifies the size, location, and options of the current window.

History

Version | Status | Notes
10.0 | Updated | Carried over from Panorama 6.0, with some updates.