Programmer Guide/Macro Library/TBMGR: Difference between revisions
From STX Wiki
Jump to navigationJump to search
m (Text replace - "S_TOOLS-STx" to "{{STX}}") |
m (Jw moved page Programmer Guide/Macro Library/TBMgr to Programmer Guide/Macro Library/TBMGR: trying to be consistent with capitalisation!) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
== | ==TBMGR : cobj== | ||
The <code> | The <code>TBMGR</code> class is used to manage toolbox files. | ||
== | ==TBMGR member functions== | ||
== | ==TBMGR static functions== | ||
===call=== | ===call=== | ||
Line 14: | Line 14: | ||
=====Usage:===== | =====Usage:===== | ||
<code> | <code>TBMGR call <var>keyword</var> ; <var>function</var> ; <var>arguments</var></code> | ||
=====Parameters:===== | =====Parameters:===== | ||
Line 36: | Line 36: | ||
=====Usage:===== | =====Usage:===== | ||
<code> | <code>TBMGR load <var>path</var></code> | ||
;<var>path</var> | ;<var>path</var> | ||
Line 54: | Line 54: | ||
Usage: | Usage: | ||
<code> | <code>TBMGR setupdialog <var>function</var></code> | ||
=====Parameters:===== | =====Parameters:===== | ||
Line 68: | Line 68: | ||
=====Usage:===== | =====Usage:===== | ||
<code> | <code>TBMGR show</code> |
Latest revision as of 09:08, 7 August 2019
Contents
TBMGR : cobj
The TBMGR
class is used to manage toolbox files.
TBMGR member functions
TBMGR static functions
call
Call a toolbox function.
Usage:
TBMGR call keyword ; function ; arguments
Parameters:
- keyword
- A valid context keyword.
- function
- The toolbox function to call.
- arguments
- The arguments to pass to the specified function.
load
Load a toolbox file into STx.
Usage:
TBMGR load path
- path
- The toolbox file.
Result:
nErrors ; nFunctions
The number of errors which occured whilst loading and the number of successfully loaded functions.
setupdialog
Call the setup dialog for the specified toolbox function.
Usage:
TBMGR setupdialog function
Parameters:
- function
- The toolbox function name.
show
Show all loaded toolbox functions.
Usage:
TBMGR show