🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #2996

DefaultDrawColumnCell

#2996
From: Hans Rikartsen
Date: Mon, 20 Jan 2003 10:18
21 lines
1937 bytes
Why do i get these errors when i call the DefaultDrawColumnCell function?
(i'm using cpp builder 3.0 standard)
I cannot see any errors i this:

dbgIn->DefaultDrawColumnCell(Rect,DataCol,Column,State);

...but these messages are coming:
[C++Error] Unit1.cpp(40): Cannot initialize 'const Windows::TRect &' with
'Windows::TRect *'.
[C++Error] Unit1.cpp(40): Type mismatch in parameter 'Rect' in call to
'_fastcall Dbgrids::TCustomDBGrid::DefaultDrawColumnCell(const
Windows::TRect &,int,Dbgrids::TColumn *,System::Set<Grids::Grids__3,0,2>)'.
[C++Error] Unit1.cpp(40): Cannot convert 'System::Set<Grids::Grids__3,0,2>
*' to 'System::Set<Grids::Grids__3,0,2>'.
[C++Error] Unit1.cpp(40): Type mismatch in parameter 'State' in call to
'_fastcall Dbgrids::TCustomDBGrid::DefaultDrawColumnCell(const
Windows::TRect &,int,Dbgrids::TColumn *,System::Set<Grids::Grids__3,0,2>)'.



thanks in advance!
Technical Details
Message-ID: <F6IW9.17658$Rc7.251767@news2.e.nsc.no>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!uio.no!news01.chello.no!newsfeed1.e.nsc.no!nsc.no!nextra.com!news2.e.nsc.no.POSTED!53ab2750!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,b9652348460bab92,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-01-19 17:20:17 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!uio.no!news01.chello.no!newsfeed1.e.nsc.no!nsc.no!nextra.com!news2.e.nsc.no.POSTED!53ab2750!not-for-mail
From: "Hans Rikartsen" <rikrikar@online.no>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: DefaultDrawColumnCell
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Message-ID: <F6IW9.17658$Rc7.251767@news2.e.nsc.no>
NNTP-Posting-Host: 130.67.89.222
X-Complaints-To: news-abuse@telenor.net
NNTP-Posting-Date: Mon, 20 Jan 2003 02:17:25 MET
X-Trace: news2.ulv.nextra.no 1043025445 130.67.89.222
Date: Mon, 20 Jan 2003 02:18:53 -0800
X-Received-Date: Mon, 20 Jan 2003 02:17:26 MET (news01.chello.no)