Tech Tip: Using color constants in 4D color commands that use RGB
PRODUCT: 4D | VERSION: 14.x | PLATFORM: Mac & Win
Published On: February 26, 2016
The tech tip #77366 allows color constants to be converted to longint RGB. Commands that require an RGB parameter can take advantage of the tech tips' utility method CONVERT_CONST_COLOR_TO_RGB. Here are the 4D Commands:
OBJECT SET RGB COLORS
LISTBOX SET GRID COLOR
LISTBOX SET ROW COLOR
TimePicker LCD SET COLOR
OBJECT SET RGB COLORS
LISTBOX SET GRID COLOR
LISTBOX SET ROW COLOR
TimePicker LCD SET COLOR
See Also: