Programming the Mio R-4

 

"^" Button Commands (Cont.)

 

 

 

 

^BRD

Set the border of a button state/states only if the specified border is not the same as the

 

Set the border of

current border. The border names are available through the TPDesign4 border-name

 

drop-down list.

 

a button state/

 

 

 

states

Syntax:

 

 

"'^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 toBorder Styles by Numbers table on page 38.

 

 

Example:

 

 

SEND_COMMAND Device,"'^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 38.

 

 

 

 

^BSF

Set the focus to the text area.

 

Set the focus to

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

 

the text area

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

 

 

in focus at a time.

 

 

Syntax:

 

 

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

 

 

Variable:

 

 

• variable text address range = 1 - 4000.

 

 

• selection value = Unselect = 0 and select = 1.

 

 

Example:

 

 

SEND_COMMAND Device,"'^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 Device,"'^BSM-500'"

 

 

Submits the text of the text area button.

 

 

 

 

^BSP

Set the button size and its position on the page.

 

Set the button

Syntax:

 

size and position

"'^BSP-<vt addr range>,<left>,<top>,<right>,<bottom>'"

 

 

 

 

Variable:

 

 

• variable text address range = 1 - 4000.

 

 

• left = left side of page.

 

 

• top = top of page.

 

 

• right = right side of page.

 

 

• bottom = bottom of page.

 

 

Example:

 

 

SEND_COMMAND Device,"'^BSP-530,left,top'"

 

 

Sets the button with variable text 530 in the left side top of page.

 

 

 

 

Mio Modero R-4

57

 

 

Page 63
Image 63
AMX Mio Modero R-4 manual Brd, Bsf, Bsm, Bsp