Admin Production ni-theme
Current Publication

ATTR_LABEL_COLOR

LabWindows/CVI

ATTR_LABEL_COLOR (Tree Item)

Type: Tree Item attribute
Description: The RGB color value of the label text.

An RGB value is a 4-byte integer with the hexadecimal format 0x00RRGGBB. RR, GG, and BB are the respective red, green, and blue components of the color value. See MakeColor.

Using this in SetTreeItemAttribute or GetTreeItemAttribute is equivalent to using it in SetTreeCellAttribute or GetTreeCellAttribute if you pass zero for the column index.
Data Type: integer
LabWindows/CVI
Compatibility:
LabWindows/CVI 7.0 and later

Values

VAL_RED Red = 255, Green = 0, Blue = 0
VAL_GREEN Red = 0, Green = 255, Blue = 0
VAL_BLUE Red = 0, Green = 0, Blue = 255
VAL_CYAN Red = 0, Green = 255, Blue = 255
VAL_MAGENTA Red = 255, Green = 0, Blue = 255
VAL_YELLOW Red = 255, Green = 255, Blue = 0
VAL_DK_RED Red = 128, Green = 0, Blue = 0
VAL_DK_BLUE Red = 0, Green = 0, Blue = 128
VAL_DK_GREEN Red = 0, Green = 128, Blue = 0
VAL_DK_CYAN Red = 0, Green = 128, Blue = 128
VAL_DK_MAGENTA Red = 128, Green = 0, Blue = 128
VAL_DK_YELLOW Red = 128, Green = 128, Blue = 0
VAL_LT_GRAY Red = 192, Green = 192, Blue = 192
VAL_DK_GRAY Red = 128, Green = 128, Blue = 128
VAL_BLACK Red = 0, Green = 0, Blue = 0
VAL_WHITE Red = 255, Green = 255, Blue = 255
VAL_GRAY Red = 160, Green = 160, Blue = 160
VAL_OFFWHITE Red = 224, Green = 224, Blue = 224
VAL_PANEL_GRAY Red = 192, Green = 192, Blue = 192