beautypg.com

Gsc ^gsn ^ico – AMX Modero NXD/NXT-1200VG User Manual

Page 215

background image

Programming

201

VG-Series Modero Touch Panels

"^" Button Commands (Cont.)

^GSC

Change the
bargraph slider
color or joystick
cursor color.

A user can also assign the color by Name and R,G,B value (RRGGBB or RRGGBBAA).

Syntax:

"'^GSC-,'"

Variable:

variable text address range = 1 - 4000.

color value = Refer to theRGB Values for all 88 Basic Colors table on page 184.

Example:

SEND_COMMAND Panel,"'^GSC-500,12'"

Changes the bargraph or joystick slider color to Yellow.

^GSN

Change the
bargraph slider
name or joystick
cursor name.

Slider names and cursor names can be found in the TPDesign4 slider name and cursor
drop-down list.

Syntax:

"'^GSN-,'"

Variable:

variable text address range = 1 - 4000.

bargraph slider name = See table below.

Example:

SEND_COMMAND Panel,"'^GSN-500,Ball'"

Changes the bargraph slider name or the Joystick cursor name to ’Ball’.

^ICO

Set the icon to a
button.

Syntax:

"'^ICO-,

This manual is related to the following products: