🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: dbGrid Issue / Newbie

#1106
From: bukwheat
Date: Thu, 30 Dec 2004 01:13
29 lines
1764 bytes
Hi

One more peace of information, I want the grid to behave like a listbox autocomplete feature if this makes more sense.

Thanks for your time
Buk

"Bukwheat" <Bukwheat@axess.com> wrote:
>
>HI 
>
>I am trying to get a dbGrid to do the following, is there a property that needs to be set.  I am using C++ builder.
>
>Lets say I have a query result displayed in the TDBGrid.
>
>sample records (imagine this is in the form of a dbgrid)
>1. aaaaa
>2. abbbb
>3. abccc
>4. abcdd
>5. something
>6. thursday
>7. victor
>
>the user of the grid is sitting on any record and starts to type 'ab' the selection cursor would go to record 2 then the user types 'abc' the row selection would move to record 3 then the user types 'th' the cursor would automatically move to record 6 and so on.  How can I do this using a simple dbGrid that comes with the default builder package.  Kind of like the windows explorer window but using the grid.
>
>Thanks
>Buk
Technical Details
Message-ID: <41d35651$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <41d35190$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,aac6cef0e54fdec0
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "bukwheat" <bukwheat@axess.com>
Sender: "bukwheat" <bukwheat@axess.com>
Reply-To: "bukwheat" <bukwheat@axess.com>
Subject: Re: dbGrid Issue / Newbie
Newsgroups: borland.public.cppbuilder.database.ado
X-User-Info: 24.201.231.5     
References:  <41d35190$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <41d35651$1@newsgroups.borland.com>
Date: 29 Dec 2004 17:13:53 -0800
X-Trace: newsgroups.borland.com 1104369233 207.105.83.66 (29 Dec 2004 17:13:53 -0800)
Lines: 30
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail