Toolbar » History » Revision 19

« Previous | Revision 19/31 (diff) | Next »
Per Amundsen, 08/22/2016 10:14 AM

Added in 1.9.1

/toolbar [on|off] [-aidmsxkNnNzNebwhyNurctplof[sld]] [N] <name/N> <tooltip> <picfile|@> [x y w h] [/alias] [popfile|@]


-a - Add button.
-i - Insert button at position [N].
-d - Deletes the Nth button or <name>.
-m - Moves button <name/N> to position [N].
-s - Add separator.
-x - TODO
-kN - Check or uncheck the Nth button or <name>, 0 = check, 1 = uncheck.
-nN - icon index in picfile.
-zN - Icon size, 1 = small, 2 = large, 3 = actual.
-e - Enable button [N] or <name>.
-b - Disable button [N] or <name>.
-w - Show button [N] or <name>
-h - Hide button [N] or <name>
-yN - TODO
-u - Update display immediately.
-r - Resets all buttons to default.
-c - Clear all buttons.
-t - Update tooltip.
-p - Update picfile.
-l - Update alias.
-o - Update popupfile.
-f - TODO


[on|off] - Enables/Disables Toolbar, use $toolbar to determine toolbar status.
[N] - Button position to modify.
<name/N> - Name or position of button to modify.
<tooltip> - Tooltip for the button.
<picfile|@> - Icon/Image file to use for the button or pic window name.
[x y w h] - TODO
[/alias] - Alias command to add to the button.
[popfile|@] - popfile = TODO, @name pic window name.


; Add a button.
/toolbar -a mybutton "My button tooltip" "c:\icons\myicon.png" "/mycommand" 

; Change the icon.
/toolbar -p mybutton "c:\icons\myicon2.png" 

; Change the alias.
/toolbar -l mybutton /mycommand2

; Remove a button.
/toolbar -d mybutton

Updated by Per Amundsen almost 8 years ago · 19 revisions

Also available in: PDF HTML TXT