ListBox is similar to HTML’s SELECT object in ability to select single and multiple items by mouse or keys, but here the similarity ends. This ListBox is not wrapper arounultiple items by mouse or keys, but here the similarity ends. This ListBox is not wrapper around HTML selectelement, hence unlimited customization could be achieved in functionality and appearence.

ListBox has following features:

  • Each item displays text, image and also stores data
  • Unlike HTML select element it has automatic not only vertical but also horizontal scrollbar
  • Unlike HTML select element can be customized in appearence and functionality, just extend it, override methods and change stylesheets.
  • Single and multiple selection modes by user and programmatically
  • Full extended multiselection support like in windows ListBox (shift and control buttons working with mouse or arrow keys, page keys etc.)
  • Programmatically sorting items by text or by data.
  • Can clear selection by pressing CTRL+C while focus is on ListBox.
  • Can delete selected items by pressing CTRL+D.

ComboBox consists of input, button and ListBox, which is displayed on click of the button and has the same features as ListBox.




Author:
admin
Time:
Sunday, June 8th, 2008 at 9:35 pm
Category:
Forms - Controls
Comments:
You can leave a response, or trackback from your own site.
RSS:
You can follow any responses to this entry through the RSS 2.0 feed.
Navigation:

Leave a Reply