Article View: borland.public.cppbuilder.database.ado
Article #3634Re: Colors
From: Ronald Loonstra
Date: Mon, 22 Jul 2002 21:45
Date: Mon, 22 Jul 2002 21:45
50 lines
2141 bytes
2141 bytes
Leen,
Did you save the the colorvalues in an integer field?
You can get them back with for example:
Panel1->Color = (TColor) ADODataSet1->FieldByName("Color")->Value;
Maybe this helps.
--
HTH
Ronald Loonstra
CodeFit Applications
www.codefit.nl
"Vassiliev V.V." <news@vassilievvv.mtu-net.ru> schreef in bericht
news:3d36645d_2@dnews...
> Why can not you fetch data from your database?
>
> Regards,
> Vassiliev V.V.
> http://www.oledbdirect.com
>
> "Leen" <Leen.VanHaecke@entropia.be> �������/�������� � �������� ���������:
> news:3d342bf0_1@dnews...
> > Hey,
> >
> > I want to keep the color of objects like the user changed.
> > So I store them in my database (using adodatasets).
> >
> > But how can I get these colors back the next time.
> > Does there something exists like color x = new color (var)?
> >
> > Thanks!
> >
> > --
> > Mvg/With Regards
> > Leen Van Haecke
> > IT-engineer
> > Entropia Networks NV
> > Kanaalstraat 1A
> > B-8020 OOSTKAMP
> > Tel: +32 (0)50 39 39 00
> > Fax: +32 (0)50 39 38 37
> > Http://www.entropia.be
> >
> >
>
>
Technical Details
Message-ID:
<3d3c7bc8$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!64.152.100.70.MISMATCH!ps01-sjc1!news.webusenet.com!news.tele.dk!small.news.tele.dk!128.230.129.106!news.maxwell.syr.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<3d342bf0_1@dnews> <3d36645d_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10698b,aab86e5c239a850a X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-07-22 15:08:08 PST From: "Ronald Loonstra" <r.loonstra@codefit.nl> Newsgroups: borland.public.cppbuilder.database.ado References: <3d342bf0_1@dnews> <3d36645d_2@dnews> Subject: Re: Colors Date: Mon, 22 Jul 2002 23:45:55 +0200 Lines: 52 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 NNTP-Posting-Host: 217.121.245.5 Message-ID: <3d3c7bc8$1_1@dnews> X-Trace: dnews 1027374024 217.121.245.5 (22 Jul 2002 14:40:24 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!64.152.100.70.MISMATCH!ps01-sjc1!news.webusenet.com!news.tele.dk!small.news.tele.dk!128.230.129.106!news.maxwell.syr.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews