🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

TDBGrid->Columns Title Buttons @ Run-Time?

#4328
From: Richard
Date: Mon, 11 Feb 2002 16:57
10 lines
1417 bytes
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: <3c67f817$1_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!feeder.qis.net!news.maxwell.syr.edu!logbridge.uoregon.edu!hub1.nntpserver.com!news-out.spamkiller.net!propagator-la!news-in-la.newsfeeds.com!news-in.superfeed.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,64cce76e51f5c2fc,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-02-11 09:06:50 PST
From: "Richard" <rwalls@geodigital-tech.com>
Sender: "Richard" <rwalls@geodigital-tech.com>
Reply-To: "Richard" <rwalls@geodigital-tech.com>
Subject: TDBGrid->Columns Title Buttons @ Run-Time?
Newsgroups: borland.public.cppbuilder.database.ado
X-User-Info: 4.40.51.206 4.40.51.206    
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3c67f817$1_2@dnews>
Date: 11 Feb 2002 08:57:59 -0800
X-Trace: dnews 1013446679 207.105.83.65 (11 Feb 2002 08:57:59 -0800)
Lines: 11
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!feeder.qis.net!news.maxwell.syr.edu!logbridge.uoregon.edu!hub1.nntpserver.com!news-out.spamkiller.net!propagator-la!news-in-la.newsfeeds.com!news-in.superfeed.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews