🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Change all the strings(Items) in TDBLookupComboBox

#3045
From: Johny
Date: Fri, 03 Jan 2003 18:08
12 lines
1321 bytes
How can I change all the strings(Items) in TDBLookupComboBox which is filed
true some data source?

I want to do something similar as with TComboBox:

for(int k3 = 0; k3 < cbo->Items->Count; k3++) {

    cbo->Items->Strings[k3] = Transform(cbo->Items->Strings[k3]);

}

Transform is some function;
Technical Details
Message-ID: <3e15d1b5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,f87ecf18f781e946,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-01-03 10:10:06 PST
From: "Johny" <goky2002@beograd.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Change all the strings(Items) in TDBLookupComboBox 
Date: Fri, 3 Jan 2003 19:08:13 +0100
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 213.137.118.180
Message-ID: <3e15d1b5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1041617333 213.137.118.180 (3 Jan 2003 10:08:53 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail