Colour

Colour

Postby acwoo1 » Sun Apr 29, 2018 12:02 pm

Hi

oSheet:Cells( 5, 10 ):Value="*ABC"

How to say "*" in red and "ABC" in black.

Thanks

ACWoo
Using FWH + bcc582

acwoo1
 
Posts: 173
Joined: Tue Nov 10, 2009 10:56 am

Re: Colour

Postby Massimo Linossi » Sun Apr 29, 2018 2:42 pm

oSheet:Cells(5,10):Characters(1,1):Font:Color := CLR_HRED
oSheet:Cells(5,10):Characters(2,3):Font:Color := CLR_BLACK
User avatar
Massimo Linossi
 
Posts: 498
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy

Re: Colour

Postby acwoo1 » Mon Apr 30, 2018 1:21 am

Thanks

It works.

Regards

ACWoo
acwoo1
 
Posts: 173
Joined: Tue Nov 10, 2009 10:56 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 40 guests

cron