I have an example of how to disable list selection in the dropdown on my blog

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thomas 
nordahl
Sent: Wednesday, November 12, 2008 7:17 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] preventing click on combobox item


Hei

Problem:

I have an combobox, and in that combobox I have objects I get from an database.

in my combobox renderer I see if the objects is active or not.

if (data){
     if(data.active != "NULL"){
..
..
..
..
      }
}


if it is not active I do the following.

        - set a tooltip.
        - change label text.

and that works fine, but what I want to do is to also make it not respond to 
mouse gestures.

I have tried enabled = false but that dont work, I can make it visible = false, 
but thats not realy what I want , so I wounder
How do I make this work? is it even possible with an combobox or do I have to 
make a custom combobox?

Reply via email to