On 5/30/05, Ghislain Simard <[EMAIL PROTECTED]> wrote:
> How to make a specific index in a combobox not selectable but visible?

The easiest and cleanest way I can think of is to use a custom cell
renderer and set this.enabled to false in the setValue() of the
renderer.

    public function setValue(str:String):Void
    {
      this.text = str;
      if (str == "Saturday" || str == "Sunday")
        enabled = false;
    }


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to