🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.winforms.controls.using
Article #234

equivalent to combobox.itemindex := -1?

#234
From: Brigitte Spatz
Date: Wed, 16 Aug 2006 09:25
11 lines
1221 bytes
I have a couple of databound comboboxes in my application but so far  
haven't found out how to set the item index to -1.
   combobox.set_SelectedIndex(-1);
seems to have no effect whatsoever :-( It always displays the first item  
in the list.

How can I achieve the desired behaviour?

TIA.

Brigitte
Technical Details
Message-ID: <op.teddthgsi0jcwv@acer.mshome.net>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff29,426ba33a4061a36b,start
X-Google-Attributes: gid1eff29,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 16 Aug 2006 11:25:55 +0200
Subject: equivalent to combobox.itemindex := -1?
From: "Brigitte Spatz" <brigitte.NOSPAMspatz@svenmahn.de>
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
MIME-Version: 1.0
Newsgroups: borland.public.delphi.winforms.controls.using
Content-Transfer-Encoding: 7bit
Message-ID: <op.teddthgsi0jcwv@acer.mshome.net>
User-Agent: Opera Mail/9.00 (Win32)
X-Antivirus: avast! (VPS 0633-1, 15/08/2006), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 217.189.170.78
X-Trace: newsgroups.borland.com 1155720364 217.189.170.78 (16 Aug 2006 02:26:04 -0700)
Lines: 11
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail