Bmi - AMX Modero G4 Instruction Manual

Configuration and programming
Table of Contents

Advertisement

"^" Button Commands (Cont.)
^BMF
(Cont.)

^BMI

Modero G4 Touch Panels - Configuration and Programming
'%LN<0-240>' = Set the lines of video being removed. ^BLN section on page 66 for more
information.
'%MI<mask image>' = Set the mask image. Refer to the ^BMI command on page 69 for more
information.
Note: This parameter should be always used in its own BMF command, and should not be
combined with other BMF subcommands.
'%MK<input mask>' = Set the input mask of a text area.
Note: This parameter should be always used in its own BMF command, and should not be
combined with other BMF subcommands.
'%ML<max length>' = Set the maximum length of a text area.
'%OP<0-255>' = Set the button opacity to either Invisible (value=0) or Opaque (value=255).
'%OP#<00-FF>' = Set the button opacity to either Invisible (value=00) or Opaque (value=FF).
'%OT<feedback type>' = Set the Feedback (Output) Type to one of the following: None,
Channel,Invert, ON (Always ON), Momentary, or Blink.
Note: This parameter should be always used in its own BMF command, and should not be
combined with other BMF subcommands.
'%P<bitmap>' = Set the picture/bitmap filename (empty is clear).
Note: This parameter should be always used in its own BMF command, and should not be
combined with other BMF subcommands.
'%R = Sets button location and also resizes the button. For more information, please refer to the
^BSP section on page 73.
'%SF<1 or 0>' = Set the focus for text area button. (No support for states.)
'%SM' = Submit a text for text area button. (No support for states.)
'%SO<sound>' = Set the button sound.
Note: This parameter should be always used in its own BMF command, and should not be
combined with other BMF subcommands.
'%SW<1 or 0>' = Show/hide a button. (No support for states.)
'%T<text >' = Set the text using ASCII characters (empty is clear).
Note: This parameter should be always used in its own BMF command, and should not be
combined with other BMF subcommands.
'%UN<Unicode text>' = Set the Unicode text. See the ^UNI section on page 81 for the text format.
'%VI<video ON/OFF>' = Set the Video either ON (value=1) or OFF (value=0).
'%VL<0-1>' = Log-On/Log-Off the computer control connection
'%VN<network name>' = Set network connection name.
'%VP<password>' = Set the network connection password.
'%WW<1 or 0>' = Word wrap ON/OFF.
Example:
SEND_COMMAND Panel,"'^BMF-500,1,%B10%CFRed%CB Blue %CTBlack%Ptest.png'"
Sets the button OFF state as well as the Border, Fill Color, Border Color, Text Color, and Bitmap.
Note: Use this command if you are using custom color palette for your panel. If you intend to use the
default color palette, use ^BMC instead.
Set the button mask image. Mask image is used to crop a borderless button to a non-square shape.
This is typically used with a bitmap.
Syntax:
"'^BMI-<vt addr range>,<button states range>,<mask image>'"
Variables:
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).
mask image = Graphic file used.
Example:
SEND_COMMAND Panel,"'^BMI-530,1&2,newMac.png'"
Sets the button with variable text 530 ON/OFF state mask image to 'newmac.png'.
Programming
69

Advertisement

Table of Contents
loading

Table of Contents