And finally, Minimal ComboBox

[kml_flashembed publishmethod=”static” fversion=”10.0.0″ movie=”http://www.bit-101.com/blog/wp-content/uploads/2010/03/ComboBox.swf” width=”120″ height=”200″ targetclass=”flashmovie”]

Get Adobe Flash player

[/kml_flashembed]

Has most of the same properties / methods as List. And adds:

openPosition – “top”, “bottom”, or ComboBox.TOP, ComboBox.BOTTOM. Defaults to bottom.
defaultLabel – what shows if nothing is selected. Default to an empty string.

As mentioned yesterday, this is the last component I am going to add for a while. I’m going to concentrate on cleaning things up, fixing any bugs that come up, considering any needed enhancements to existing components, and then calling it 1.0.

http://www.minimalcomps.com

This entry was posted in ActionScript, Components, Flash. Bookmark the permalink.

12 Responses to And finally, Minimal ComboBox

  1. Endoplasmic says:

    Looking good sir. Only thing I’d say is that if you click the scrollbar (or scroll up and down buttons) and then click off the list it should fold up.

  2. felix says:

    sweet! IMO the scrollbar track and buttons could do with being a bit bigger.

  3. Mark says:

    Cool stuff. Really love this one, because it uses them all. Personally I’d move the plus-button 1px to the left.

  4. efish says:

    Great, I have been waiting for it several days.

  5. Very nice. Thanks for building these components.

  6. Johnny Castaway says:

    Why don’t you use the conventional downward pointing arrow instead of the plus sign? Like the collapse/expand arrow you use in your Minimizing Window component. Would be much better from a usability point of view.

  7. Franz says:

    Sweet as a nut mate! PERSONALLY, I wouldn’t look a gift horse in the mouth and adapt them if I thought they looked better some other way 🙂

  8. kp says:

    Endoplasmic, it does work that way, but there’s a bug in the version posted here. Fixed in SVN.

  9. kp says:

    felix, i’ll probably expose scrollbar width at some point.

    Mark, done.

    Johnny, I started down that route, but the plus / minus sign grew on me.

  10. Innes says:

    Keith, I am embarrassed to say that I think I referred to you as Peter in my previous comment. I can’t see my message right now as it has not yet been moderated, but if I made the mistake that I think I did, please accept my apologies; with an unusual name such as mine, I should know better than to get someone else’s name wrong!

  11. Keith,

    Wouldn’t this technically be a select box and not a combo box? Usually a combo box would imply that you could manually enter text as well as select from a list of options.

    Very cool components though. Nice work!

  12. Erik says:

    Why can the default value not be re-selected after an item in the list is selected?

    That is not conventional combobox behaviour.

Leave a Reply