🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

TDBLookupListBox - Moving items in list

#753
From: Daryl
Date: Tue, 05 Apr 2005 09:09
27 lines
1427 bytes
Cross post - no responses from Compoment Using list...

I would like to know if it is possible to allow a user to select a 
record and then move its position in the list (either up or down) by use 
of a button click.  Of course this list is derived from a dataset.

Example:
List contains.
Cars    12
Boats    10
Bikes    2

Actions:
The user selects (highlights) Bikes  2
The user clicks the MOVE UP button

Outcome:
The List now reads, and Bikes    2 is still highlighted.
Cars    12
Bikes    2
Boats    10

Any help would be good.

thanks
daryl
Technical Details
Message-ID: <42525622@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,c95d01d80e9ee5ae,start
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 05 Apr 2005 19:09:05 +1000
From: Daryl <developeracc@hotmail.com>
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.ado
Subject: TDBLookupListBox - Moving items in list
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 203.103.112.241
Message-ID: <42525622@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1112692258 203.103.112.241 (5 Apr 2005 02:10:58 -0800)
Lines: 27
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail