XlsReadwriteII5 FillPatternForeColor use

Questions and answers on how to use XLSReadWriteII 5.
Post Reply
cakmakb
Posts: 5
Joined: Fri Dec 04, 2015 4:12 am

XlsReadwriteII5 FillPatternForeColor use

Post by cakmakb »

Hi

XlsReadwriteII4 use like this

XLSReadWriteII4[0].Range.ItemsRef[Params[1] + ':' + Params[2]].FillPatternForeColor := xcYellow;

What i can use XlsReadWriteII5

XLSReadWriteII5[0].Range.ItemsRef[Params[1] + ':' + Params[2]].FillPatternForeColor := xcYellow; //Error [DCC Error] Unt_MainForm.pas(4295): E2010 Incompatible types: 'Cardinal' and 'TXc12IndexColor'

Burhan Cakmak
KenWhite
Posts: 13
Joined: Mon Jan 03, 2005 8:23 pm
Contact:

Re: XlsReadwriteII5 FillPatternForeColor use

Post by KenWhite »

You really should learn to read source code.

Code: Select all

XLS[0].Cells[2,3].FillPatternForeColorRGB := $AFAFAF;
Ken
Post Reply