🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.winforms.controls.using
Article #105

Re: About DBGrid

#105
From: Ali
Date: Mon, 06 Feb 2006 06:06
23 lines
1892 bytes
Thanks for your attention but I couldn't find OnGetText and 
OnSetText you wrote in dbgrid.Tell me where can I find them.
Thanks

"Wayne Niddery [TeamB]" <wniddery@chaffaci.on.ca> wrote:
>Ali wrote:
>> Is there any way to change the text of a field in the dbgrid when it
>> is reading that field from a query.for example if the content of
>> status field is true then dbgrid shows Active. Let me know if it's
>> not clear.
>
>Yes, use that field's OnGetText (and if you are allowing editing of the 
>field, OnSetText) event to translate between the database values and the 
>desired display values.
>
>-- 
>Wayne Niddery - Logic Fundamentals, Inc. (www.logicfundamentals.com)
>RADBooks: http://www.logicfundamentals.com/RADBooks.html
>"Reality is that which, when you stop believing in it, doesn't go
>away." � Philip K. Dick 
>
>
Technical Details
Message-ID: <43e6f57f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!news-raspail.gip.net!news.gsl.net!gip.net!grolier!194.74.65.66.MISMATCH!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43e59a19$1@newsgroups.borland.com> <43e63e99$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff29,6f3b48b93dfeafcc
X-Google-Attributes: gid1eff29,public
X-Google-Language: ENGLISH,ASCII
From: "Ali" <mortazavi@rayanbadr.com>
Sender: "Ali" <mortazavi@rayanbadr.com>
Reply-To: "Ali" <mortazavi@rayanbadr.com>
Subject: Re: About DBGrid
Newsgroups: borland.public.delphi.winforms.controls.using
X-User-Info: 80.253.139.194     
References: <43e59a19$1@newsgroups.borland.com> <43e63e99$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <43e6f57f$1@newsgroups.borland.com>
Date: 5 Feb 2006 23:06:39 -0700
X-Trace: newsgroups.borland.com 1139209599 207.105.83.66 (5 Feb 2006 23:06:39 -0700)
Lines: 24
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!news-raspail.gip.net!news.gsl.net!gip.net!grolier!194.74.65.66.MISMATCH!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail