Programming
106
MVP-5200i Modero® ViewPoint® Touch Panel with Intercom - Instruction Manual
Button Commands (Cont.)
?JST
Get the current text justification.
Syntax:
"'?JST-<vt addr range>,<button states range>'"
Variable:
variable text address range = 1 - 4000.
button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons 1 = Off state and 2 = On state).
custom event type
1004:
Flag - Zero
Value1 - Button state number
Value2 - 1 - 9 justify
Value3 - Zero
Text - Blank
Text length - Zero
Example:
SEND COMMAND Panel,"'?JST-529,1'"
Gets the button 'OFF state' text justification information.
The result sent to the Master would be:
ButtonGet Id = 529 Type = 1004
Flag = 0
VALUE1 = 1
VALUE2 = 1
VALUE3 = 0
TEXT =
TEXT LENGTH = 0
^MBT
Set the Mouse Button mode On for the virtual PC.
Syntax:
"'^MBT-<pass data>'"
Variable:
pass data
:
0 = None
1 = Left
2 = Right
3 = Middle
Example:
SEND COMMAND Panel,"'^MBT-1'"
Sets the mouse button mode to ’Left Mouse Click’.
^MDC
Turn On the ’Mouse double-click’ feature for the virtual PC.
Syntax:
"'^MDC'"
Example:
SEND COMMAND Panel,"'^MDC'"
Sets the mouse double-click for use with the virtual PC.
^SHO
Show or hide a button with a set variable text range.
Syntax:
"'^SHO-<vt addr range>,<command value>'"
Variable:
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.
^TEC
Set the text effect color for the specified addresses/states to the specified color. The Text Effect is specified by name and can
be found in TPD4. You can also assign the color by name or RGB value (RRGGBB or RRGGBBAA).
Syntax:
"'^TEC-<vt addr range>,<button states range>,<color value>'"
Variable:
variable text address range = 1 - 4000.
button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons 1 = Off state and 2 = On state).
color value = Refer to the RGB Triplets and Names For Basic 88 Colors table on page 86.
Example:
SEND_COMMAND Panel,"'^TEC-500.504&510.515,1&2,12'"
Sets the text effect color to Very Light Yellow on buttons with variable text 500-504 and 510-515.