🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TDBGrid->Columns Title Buttons @ Run-Time?

#4329
From: Richard
Date: Mon, 11 Feb 2002 21:30
18 lines
1445 bytes
Same Message b/w newline characters:

Hello,

 I'm developing my first ADO program with Access.  I'm able to 
read from the DB and put the information into a TDBGrid.  What 
I'd like to do is make all of the Column Headings/Titles into 
buttons, used for sorting the Columns.  I have to do this at 
run-time because I'm not sure of the Column names, yet.  

 From the newsgroups and help files I've read, this is 
possible at design-time but how do you do it at run-time as 
well? 

Thanks,

Richard
Technical Details
Message-ID: <3c6837e0$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!128.230.129.106!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.mesh.ad.jp!uunet!osa.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3c67f817$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,64cce76e51f5c2fc
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-02-11 13:39:39 PST
From: "Richard" <rwalls@geodigital-tech.com>
Sender: "Richard" <rwalls@geodigital-tech.com>
Reply-To: "Richard" <rwalls@geodigital-tech.com>
Subject: Re: TDBGrid->Columns Title Buttons @ Run-Time?
Newsgroups: borland.public.cppbuilder.database.ado
X-User-Info: 4.40.51.206 4.40.51.206    
References:  <3c67f817$1_2@dnews> 
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3c6837e0$1_1@dnews>
Date: 11 Feb 2002 13:30:08 -0800
X-Trace: dnews 1013463008 207.105.83.65 (11 Feb 2002 13:30:08 -0800)
Lines: 21
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!128.230.129.106!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.mesh.ad.jp!uunet!osa.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews