<< Click to display table of contents >> RVA_GetColorName Function |
Returns a localized color name.
Unit RichViewActions.
function RVA_GetColorName(Color: TColor;
ControlPanel: TRVAControlPanel = nil):TRVALocString;
If ControlPanel parameter is defined, its Language property is used. Otherwise, the function uses MainRVAControlPanel.Language.
For clNone, it returns 'Transparent' (translated to the current language).
For clWindow, clBtnFace, clWindowText, it returns 'Auto' (translated to the current language).
For 40 standard colors, it returns their localized names.
For other colors, it returns 'RGB(NN,NN,NN)' string.
See also: