xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

HB_ColorToN()

Converts a color value to a numeric color attribute.

Syntax

HB_ColorToN( <cColor> ) --> nColorAttribute

Arguments

<cColor>
This is a character string holding a SetColor() compliant color value.

Return

The function converts a color value to the corresponding color attribute and returns the attribute as a numeric value.

Info

See also:NtoColor()
Category: Screen functions , xHarbour extensions
Source:rtl\setcolor.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe