Error base/44 on TcBrowse using COLORS statement

Error base/44 on TcBrowse using COLORS statement

Postby giobbi » Fri Jan 05, 2007 9:29 am

Hi, I tried to add the COLOR statement on DBF03.prg original fwh\sample in one of the ADD COLUMN lines.

This is the part I modified (btw i also cut off the ADS part since i got a compile error):

ADD COLUMN TO BROWSE oBrw ;
DATA clients->name ;
COLORS RGB(1,1,1) , RGB(192,192,192) ; //new line by Giobbi
HEAD "Nombre" ;
OEM WIDTH 50

since into my programs I use intensively this option.

I got this error:

Error BASE/44 Assigned value is wrong class: TCCOLUMN:BCLRFORE
[...]
Called from: => TCCOLUMN:_BCLRFORE(0)
Called from: dbf03.prg => TCCOLUMN:NEW(0)
Called from: dbf03.prg => CLIENTSBROWSE(213)

I can't get the rid of it, does anybody can help me?
cheers,
Giobbi
giobbi
 
Posts: 6
Joined: Fri Apr 28, 2006 3:14 pm

Postby Antonio Linares » Fri Jan 05, 2007 9:59 am

Giobbi,

Please modify class TCColumn at source\classes\tccolumn.prg and remove all "AS ..." clauses.

Also, in order test samples\dbf03.prg, you have to copy dbf01.rc dbf03.rc and modify TWBrowse inside it into TCBrowse.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42120
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 52 guests