Shd; Sho; Spd - AMX Modero G5 Instruction Manual

X series g5 touch panels
Hide thumbs Also See for Modero G5:
Table of Contents

Advertisement

Programming - Send Commands
Button Commands (Cont.)

^SHD

^SHO

^SPD

76
Subpage Hide Command.
This command will hide the named subpage and relocate the surrounding subpages as necessary to close the
gap. If the subpage to be hidden is currently offscreen then it is removed without any other motion on the
subpage viewer button.
Syntax:
"'^SHD-<vt addr range>,<name>,<optional time>'"
Variables:
variable text address range = 1 - 4000.
name = name of subpage to hide. If name is __all, then all subpages are hidden.
time - Can range from 0 to 30 and represents tenths of a second. This is the amount of time used to move the
subpages around when subpages are hidden from a button.
Example:
SEND_COMMAND Panel,"'^SHD-200,menu1,10'"
Remove the menu1 subpage from subpage viewer button with address 200 over one second.
Button Show/Hide Command.
Show or hide a button.
Syntax:
"'^SHO-<vt addr range>,<command value>'"
Variables:
variable text address range = 1 - 4000.
command value = (0= hide, 1= show).
Example:
SEND_COMMAND Panel,"'^SHO-500.504&510.515,0'"
Hides buttons with variable text address range 500-504 & 510-515.
Subpage Padding Command.
Set the padding between subpages on a subpage viewer button.
Syntax:
"'^SPD-<vt addr range>,<padding>'"
Variables:
variable text address range = 1 - 4000.
Padding = percentage from 0 to 100 of the first subpage in a set to set as a padding between subpages. For
a horizontal subpage viewer button it is a percentage of the width and for a vertical subpage viewer button it
is a percentage of the height.
Example:
SEND_COMMAND Panel, "'^SPD-400,10'"
Set the padding between subpages in the set to 10% of the dimension of the first subpage in the set.
Modero G5 Touch Panels - Configuration and Programming

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents