Article View: borland.public.jbuilder.java.api
Article #3229Basic listbox question
From: Caren Boroshok
Date: Wed, 18 Mar 1998 00:00
Date: Wed, 18 Mar 1998 00:00
10 lines
1003 bytes
1003 bytes
I'm working with a simple listbox and trying to handle double clicks
specially. I figured out how to use the getClickCount to see if the
user double-clicked, but how can I tell which item in the list he
double-clicked on. It seems the event will give you an X-Y position,
but how can I translate this into an index in the listbox??
Seems like it should be obvious...
thanx for any help.
please reply to email also.
caren
Technical Details
Message-ID:
<351070D4.90E@securitydynamics.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,1491cdcbeb54ef2e,start X-Google-Attributes: gid1089d0,public From: Caren Boroshok <cboroshok@securitydynamics.com> Subject: Basic listbox question Date: 1998/03/18 Message-ID: <351070D4.90E@securitydynamics.com> X-Deja-AN: 335431800 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Reply-To: cboroshok@securitydynamics.com Newsgroups: borland.public.jbuilder.java.api