🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19689

Help needed again (List Control) this time.

#19689
From: Troy DesBarres
Date: Wed, 31 Dec 1997 00:00
12 lines
933 bytes
I am using a List Control and it works quite well.  However when the
user clicks on a selection I would like to get the Index of the
selection and not the item name.

If I use the AWT List Control there is a method called
.getSelectedIndex() and that does exactly what I need it to do.

I can not find the same one in the Borland List Control however.
How can I get the Index on a Borland List Control?

Thanks.
Technical Details
Message-ID: <34A9F374.C7B0B874@whitehouse.acl.ca>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,9144da4819d89344,start
X-Google-Attributes: gidf74b3,public
From: Troy DesBarres <t.desbarres@whitehouse.acl.ca>
Subject: Help needed again (List Control) this time.
Date: 1997/12/31
Message-ID: <34A9F374.C7B0B874@whitehouse.acl.ca>
X-Deja-AN: 311610185
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Organization: Whitehouse Software
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language