Programming

 

"^" Button Commands (Cont.)

 

 

 

 

^BRD

Only if the specified border is not the same as the current border. The border names are

 

Set the border of

available through the TPDesign4 border-name drop-down list.

 

 

 

a button state/

Syntax:

 

states.

"'^BRD-<vt addr range>,<button states range>,<border name>'"

 

 

 

 

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).

 

 

border name = Refer to the Border Styles and Programming Numbers table on

 

 

page 110.

 

 

Example:

 

 

SEND_COMMAND Panel,"'^BRD-500.504&510.515,1&2,Quad Line'"

 

 

Sets the border by name (Quad Line) to those buttons with the variable text range of

 

 

500-504 & 510-515.

 

 

Refer to theTPD4 Border Styles by Name table on page 110.

 

 

 

 

^BSF

Note: Select one button at a time (single variable text address). Do not assign a variable

 

Set the focus to

text address range to set focus to multiple buttons. Only one variable text address can be

 

in focus at a time.

 

the text area.

 

Syntax:

 

 

 

 

"'^BSF-<vt addr range>,<selection value>'"

 

 

Variable:

 

 

variable text address range = 1 - 4000.

 

 

selection value = Unselect = 0 and select = 1.

 

 

Example:

 

 

SEND_COMMAND Panel,"'^BSF-500,1'"

 

 

Sets the focus to the text area of the button.

 

 

 

 

^BSM

This command causes the text areas to send their text as strings to the NetLinx Master.

 

Submit text for

Syntax:

 

text area buttons.

"'^BSM-<vt addr range>'"

 

 

 

 

Variable:

 

 

variable text address range = 1 - 4000.

 

 

Example:

 

 

SEND_COMMAND Panel,"'^BSM-500'"

 

 

Submits the text of the text area button.

 

 

 

 

^BSO

If the sound name is blank the sound is then cleared. If the sound name is not matched,

 

Set the sound

the button sound is not changed.

 

Syntax:

 

played when a

 

button is pressed.

"'^BSO-<vt addr range>,<button states range>,<sound name>'"

 

 

 

 

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).

 

 

sound name = (blank - sound cleared, not matched - button sound not changed).

 

 

Example:

 

 

SEND_COMMAND Panel,"'^BSO-500,1&2,music.wav'"

 

 

Assigns the sound 'music.wav' to the button Off/On states.

 

 

 

 

MVP-5200i Modero Viewpoint Widescreen Touch Panel

123

 

 

Page 131
Image 131
AMX MVP-5200i manual Brd, Bsf, Bsm, Bso