1. Overview Application Object¶
Overview Application Object |
|
---|---|
AppAddToRecentFileList adds a name to the “Most Recent Used File” list. |
|
AppCmdWndClear clears the UniScript command window. |
|
AppCmdWndClear closes the UniScript command window. |
|
AppCmdWndShow shows or hides the UniScript command window. |
|
AppCommandTracing enables or disables tracing of menu commands. |
|
AppEventWndClear removes all events from the event window. |
|
AppGetActiveDocument retrieves the handle of the active document. |
|
AppGetActiveEditor retrieves the handle of the active editor. |
|
AppGetActivePage retrieves the handle of the active page in the active document. |
|
The function AppGetActivePrinterName returns the active printer name. |
|
The function AppGetAllPrinterNames returns a vector with printer names. |
|
AppGetBar checks if the status bar or one of the toolbars is visible. |
|
AppGetBatchMode returns the batch mode flag. If batch mode is enabled the display of dialog and message boxes are suppressed. |
|
AppGetCommandLine returns the command line. |
|
AppGetDateFormatStrings returns a vector of Date/Time format strings. |
|
AppGetFileNameSettings retrieves the name of the file with UniPlot settings. |
|
AppGetGDI returns the used graphic interface for the monitor and printer output. |
|
AppGetGlobalOption returns a value of an option from Tools=>More Options. |
|
AppGetMainWnd returns the handle of UniPlot’s main window. |
|
AppGetSelectedDatasets retrieves the handles of all selected datasts in the active page. |
|
AppGetSelectedLayers retrieves the handles of the selected layers in the active page. |
|
AppGetSelectedXYZDatasets retrieves the handles of all selected 1D and 2D datasts in the active page. |
|
AppGetSelectedXYZDatasets retrieves the handles of all selected 3D datasts in the active page. |
|
AppGetStatusBarHandle returns the handle of the status bar window. |
|
AppGetToolbarInfo returns a matrix with toolbar names and an information if the toolbar is visible. |
|
The function AppGetUserColorTable returns a vector with 16 user colors. |
|
AppHelp opens the UniPlot help system. |
|
AppHelpOptions sets or returns help setting options. |
|
Checks if the data tooltips are enabled. |
|
Checks if the full screen mode is active. |
|
The function AppIsPostScriptPrinter identifies the printer as a PostScript printer. |
|
AppIsVisible checks if the UniPlot window is visible or hidden. |
|
AppLoadSettings loads a file with UniPlot settings. |
|
AppOnCloseCallback will be invoked, when UniPlot is closed. The function must be provided by the user. |
|
AppProgressCreate creates a process control in the status bar or a dialog box with a progress control and a Cancel button. |
|
AppProgressDialog creates a dialog box with a progress control and a Cancel button. |
|
AppProgressStepIt advances the current position for a progress bar ontrol by the step increment and redraws the bar to reflect the new position. |
|
AppQuit closes UniPlot. |
|
AppRunAutomated checks if Uniplot was invoked as a COM-Server. |
|
AppSaveSettings saves UniPlot settings to a file. |
|
AppSendCommandMessage sends a menu command to a window. |
|
AppSetBar switches the status bar or one of the toolbars on or off. |
|
AppSetBatchMode sets the batch mode flag. If batch mode is enabled the display of dialog and message boxes are suppressed. |
|
Enables or disables the data tooltips. |
|
AppSetDatasetDataType sets the data type for 1D and 2D datasets. |
|
AppSetDateFormatStrings sets the date/time format strings. The strings are used to format the axes labels. |
|
Resizes the current view so that it fills the screen. |
|
AppSetGDI sets the interface used to display graphics on the monitor or printer (Graphics Device Interface). With UniPlot R2018 three different interfaces can be used. |
|
AppSetGlobalOption sets a value of an option from Tools=>More Options. |
|
The function AppSetPrinter selects a printer. |
|
AppSetStatusBarText prints text into the status bar |
|
AppSetTitle sets UniPlot’s window title. |
|
AppSetToolbarInfo switches toolbars on or off. |
|
The function AppSetUserColorTable sets the user colors. |
|
The AppSleep function suspends the execution of UniPlot for the specified interval. |
|
Miscellaneous User Interface Functions |
|
---|---|
option_add adds an option to the Tools=>More Options dialog box. The option data is saved in the Windows registry or an INI file. |
|
option_dialog opens the option dialog box Tools=>More Options. |
Registry (UniPlot Section) |
|
---|---|
GetProfileInt retrieves an integer from the specified section in an initialization file or the Windows registry. |
|
GetProfileInt_Policy retrieves an integer from the specified section in the Windows registry. |
|
GetProfileSection returns all keys with their values of the specified section in the form key=value. |
|
GetProfileSectionNames returns a string vector with the section names. |
|
GetProfileString retrieves a string from the specified section in an initialization file or the Windows registry. |
|
GetProfileString_Policy retrieves a string from the specified section in the Windows registry. |
|
WriteProfileInt copies an integer number into the specified section of an initialization file. |
|
WriteProfileString writes a string into the specified section of an initialization file or the Windows registry database. |
|
registry_load copies all UniPlot settings from the specified XML file to the Windows registry. |
|
registry_save copies all UniPlot settings from the Windows registry to the specified XML file. |
Registry |
|
---|---|
RegConnect establishes a connection with the registry. |
|
RegCreate creates key in registry. |
|
RegCurComputer returns the computer name for the currently connected registry. |
|
RegCurKey returns the name of the currently open key. |
|
RegCurReg retrieves the name of the currently connected registry. |
|
RegDelete deletes the named registry value of the current key. |
|
RegEnumerateKeys enumerates subkeys of the currently open key. |
|
RegGetValue retrieves a value. |
|
Opens a registry key. |
|
RegSetValue sets a value for the key name. |
See also
id-677947