Navigation:  Reference > Functions >

GetWinColorValue()

Print this Topic Previous pageReturn to chapter overviewNext page

 

GET_WCOLOR(1)

 

PURPOSE

This function will return a numeric value depending on the Windows color name you specify.

 

PARTS

 

1 f/c/eRequired - Windows color name.

 

RETURN TYPE - R.

 

COMMENTS

The allowable color names are:  'SCROLLBAR', 'BACKGROUND', 'ACTIVECAPTION', 'INACTIVECAPTION', 'MENU', 'WINDOW', 'WINDOWFRAME', 'MENUTEXT', 'WINDOWTEXT', 'CAPTIONTEXT', 'ACTIVEBORDER', 'INACTIVEBORDER', 'APPWORKSPACE', 'HIGHLIGHT', 'HIGHLIGHTTEXT', 'BTNFACE', 'BTNSHADOW', 'GRAYTEXT', 'BTNTEXT', 'INACTIVECAPTIONTEXT', 'BTNHIGHLIGHT', 'BLACK', 'MAROON', 'GREEN', 'OLIVE', 'NAVY', 'PURPLE', 'TEAL', 'GRAY', 'SILVER', 'RED', 'LIME', 'YELLOW', 'BLUE', 'FUCHSIA', 'AQUA', 'LTGRAY', 'DKGRAY', 'WHITE'.

 

If you specify a color name other than one of the above the function will return 0.

 

EXAMPLE

define x type r

x = GET_WCOLOR('SILVER')

// x = 12632256

 

 


Page url: http://www.cassoftware.com/tas/manual/getwincolorvalue().htm