AMX NXD-700Vi manual Bmf, BMF-vt addr range,button states range,data

Models: NXD-700Vi

1 232
Download 232 pages 24.26 Kb
Page 165
Image 165

Programming

"^" Button Commands (Cont.)

^BMC (Cont.)

Example 2:

 

 

 

SEND_COMMAND Panel,"'^BMC-150,1,1,315,1,%BR%FT%TX%BM%IC%CF%CT'"

 

Copies the OFF state border, font, Text, bitmap, icon, fill color and text color of the button

 

with a variable text address of 315 onto the OFF state border, font, Text, bitmap, icon, fill

 

color and text color of the button with a variable text address of 150.

 

 

 

 

 

 

 

^BMF

Syntax:

 

 

 

Set any/all button

"'^BMF-<vt addr range>,<button states range>,<data>'"

parameters by

Variables:

 

 

 

sending

 

 

 

variable text address char array = 1 - 4000.

embedded codes

button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons

and data.

 

1 = Off state and 2 = On state).

 

level range = 1 - 600 (level value is 1 - 65535).

 

data:

 

 

 

 

’%B<border style>’ = Set the border style name. See theBorder Styles and Programming

 

Numbers table on page 136.

 

’%B’,<border 0-27,40,41> = Set the borer style number. See theBorder Styles and

 

Programming Numbers table on page 136.

 

’%DO<1-5><1-5><1-5><1-5><1-5> = Set the draw order. Listed from bottom to top.

 

Refer to the ^BDO command on page 141 for more information.

 

’%F’,<font 1-8,10,11,20-29,32-xx> = Set the font. See theDefault Font Styles and ID

 

Numbers table on page 135.

 

’%F<font 01-08,10,11,20-29,32-xx>’ = Set the font. See theDefault Font Styles and ID

 

Numbers table on page 135.

 

’%MI<mask image>’ = Set the mask image. Refer to the ^BMI command on page 145 for

 

more information.

 

 

’%T<text >’ = Set the text using ASCII characters (empty is clear).

 

’%P<bitmap>’ = Set the picture/bitmap filename (empty is clear).

 

’%I’,<icon 01-9900, 0-clear>’ = Set the icon using values of 01 - 9900 (icon numbers are

 

assigned in the TPDesign4 Resource Manager tab - Slots section).

 

’%I<icon 01-9900, 0-clear>’ = Set the icon using values of 01 - 9900 (icon numbers are

 

assigned in the TPDesign4 Resource Manager tab - Slots section).

 

’%J’,<alignment of text 1-9> = As shown the following telephone keypad alignment chart:

 

0

 

 

 

 

 

 

 

1

 

2

3

Zero can be used for an absolute position

 

 

 

 

 

 

 

 

4

 

5

6

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

8

9

 

’%JT<alignment of text 0-9>’ = As shown the above telephone keypad alignment chart, BUT the 0 (zero) is absolute and followed by ’,<left>,<top>’

’%JB<alignment of bitmap/picture 0-9>’ = As shown the above telephone keypad alignment chart BUT the 0 (zero) is absolute and followed by ’,<left>,<top>’

’%JI<alignment of icon 0-9>’ = As shown the above telephone keypad alignment chart, BUT the 0 (zero) is absolute and followed by ’,<left>,<top>’

7" Modero Widescreen Touch Panels

143

 

 

Page 165
Image 165
AMX NXD-700Vi manual Bmf, BMF-vt addr range,button states range,data