The colour constants are not a part of PureBasic constant but came from Windows. So to have colour constants you will have to redefine them.chris319 wrote:Several color constants not found (#Yellow, #Red, #Green, etc.)
Code: Select all
#White = 16777215
#LightGray = 15132390
#Gray = 12500670
#DarkGray = 6908265
#Red = 255
#Orange = 32767
#Gold = 49151
#Yellow = 65535
#Green = 65280
#DarkGreen = 32512
#Chartreuse = 65407
#SeaGreen = 32575
#Aquamarine = 12582783
#Turquoise = 12566335
#Blue = 16711680
#DarkBlue = 12517376
#Cyan = 16776960
#Purple = 16711850
#Lavender = 16760767
#Magenta = 16711935
#Brown = 3755147
#Black = 0
Regards
StarBootics