Subclass List, override findKey.  Set dropdownFactory to your subclass.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of j_lentzz
Sent: Tuesday, October 16, 2007 8:47 AM
To: [email protected]
Subject: [flexcoders] How to override ListBase method when using a
ComboBox

 

Hi,

I'm wanting to override the findKey method in ListBase to make a
comboBox that can use more than one character to find an item in the
dropdown list. However, I can't see a way to extend the ListBase to
allow for the override of findKey and then get ComboBox to refer to
that extended ListBase. Currently, ComboBox is using a private
variable _dropdown of type ListBase. Does anyone know how to do this?

Thanks,

John

 

Reply via email to