TheLord45 / amxpanel

Emulator for AMX panels
GNU General Public License v3.0
13 stars 1 forks source link

Command: ^TEC #38

Closed TheLord45 closed 5 years ago

TheLord45 commented 5 years ago

Set the text effect color for the specified addresses/states to the specified color.

The Text Effect is specified by name and can be found in TPD4. You can also assign the color by name or RGB value (RRGGBB or RRGGBBAA).

Syntax: "'^TEC-<vt addr range>,<button states range>,<color value>'"

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). color value = Refer to the RGB Values for all 88 Basic Colors table on page 107.

Example: SEND_COMMAND Panel,"'^TEC-500.504&510.515,1&2,12'" Sets the text effect color to Very Light Yellow on buttons with variable text 500-504 and 510-515.