Programmer Guide/Macro Library/TBMGR: Difference between revisions

From STX Wiki
Jump to navigationJump to search
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
==tbmgr : cobj==
==TBMGR : cobj==


The <code>tbmgr</code> class is used to manage toolbox files.
The <code>TBMGR</code> class is used to manage toolbox files.


==tbmgr member functions==
==TBMGR member functions==


==tbmgr static functions==
==TBMGR static functions==


===call===
===call===
Line 14: Line 14:
=====Usage:=====
=====Usage:=====


<code>tbmgr call <var>keyword</var> ; <var>function</var> ; <var>arguments</var></code>
<code>TBMGR call <var>keyword</var> ; <var>function</var> ; <var>arguments</var></code>


=====Parameters:=====
=====Parameters:=====
Line 36: Line 36:
=====Usage:=====
=====Usage:=====


<code>TBMgr load <var>path</var></code>
<code>TBMGR load <var>path</var></code>


;<var>path</var>
;<var>path</var>
Line 54: Line 54:
Usage:
Usage:


<code>tbmgr setupdialog <var>function</var></code>
<code>TBMGR setupdialog <var>function</var></code>


=====Parameters:=====
=====Parameters:=====
Line 68: Line 68:
=====Usage:=====
=====Usage:=====


<code>tbmgr show</code>
<code>TBMGR show</code>

Revision as of 10:07, 7 August 2019

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

Navigation menu

Personal tools