No, but:

TCOLOR = $00BBGGRR
HTML = #RRGGBB

so, mask off the right byte (using AND/OR etc)
convert the byte to an hex value (padded with '0''s )
put a # in front of it.

easy.

N

Chris Crowe wrote:
> 
> Hi,
>   I am looking for a routine to convert a TCOLOR to a HTML tag that can be
> used on a simple HTML page.
> 
> Does anyone know of any?
> 
> Christopher Crowe
> [EMAIL PROTECTED]
> http://www.adrock.com
> 
> Want a free program to help you search the Microsoft Knowledge Base?, and
> other areas of Microsoft's site?, download it from www.adrock.com/msarticle
> 
> ---------------------------------------------------------------------------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to