Multi-Selection Listbox Test

To see more JOM Software applications, click here.  

 Download: v1.10


PyS60 offers great multi-selection listbox, with search, except it has one weakness: you cannot initialize the selections in advance. You start with no selections.

Here is a test application to compare two built-in listboxes with one quick but dirty custom listbox. In every possible way this custom listbox is worse than built-in - except that this one you can initialize properly. You are able to define which items are selected at start.

Poor graphics, wrong softkeys, problems with key press repeat, possible memory leak... Everything can be forgiven with this one feature: you are able to define which items are selected!

No need to say I'm extremely happy with this!

Sample Code

Some of the things you can find inside:
  • How to use built-in "Checkbox" multi-selection listbox
  • How to use built-in "Checkmark" multi-selection listbox
  • How to create your own multi-selection listbox, where you can initialize selections at start
  • How to use built-in checkbox icon graphics from two possible sources (webkit.mbm or avkon2.mbm)
  • How to report listbox selections
  • How to un-bind non-binded keys without crash

Version History

Version 1.10, release date 2009-04-15

  • Simpler code to update custom listbox selection

 Version 1.00, release date 2009-03-31

  • Initial release
  • Tested with S60 3.1 emulator (PyS60 1.4.5)
  • Tested with N82 (PyS60 1.4.5)