[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”]
[/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.
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.
sweet! IMO the scrollbar track and buttons could do with being a bit bigger.
Cool stuff. Really love this one, because it uses them all. Personally I’d move the plus-button 1px to the left.
Great, I have been waiting for it several days.
Very nice. Thanks for building these components.
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.
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 🙂
Endoplasmic, it does work that way, but there’s a bug in the version posted here. Fixed in SVN.
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.
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!
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!
Why can the default value not be re-selected after an item in the list is selected?
That is not conventional combobox behaviour.