FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Error base/44 on TcBrowse using COLORS statement
Posts: 6
Joined: Fri Apr 28, 2006 03:14 PM
Error base/44 on TcBrowse using COLORS statement
Posted: Fri Jan 05, 2007 09: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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Error base/44 on TcBrowse using COLORS statement
Posted: Fri Jan 05, 2007 09: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

Continue the discussion