There is no standard
way but you can program it by your own means:
In your scripts,
start with
include
"guixt_on_off.txt"
The include file
looks like this:
if V[GUIXT_OFF=X]
Pushbutton
(toolbar)
"GuiXT On"
process="toggle_guixt.txt"
//
no further script processing
Stop
script
endif
Pushbutton
(toolbar)
"GuiXT Off"
process="toggle_guixt.txt"
and the InputScript
"toggle_guixt.txt"
is as follows:
if V[GUIXT_OFF=X]
Set
V[GUIXT_OFF]
""
else
Set
V[GUIXT_OFF]
"X"
endif
Return
|