RFC: VCL dropdown with checkboxes?

RFC: VCL dropdown with checkboxes?
What is your favorite way of doing a dropdown with multiple checkboxes (3-15 items)? Must be able to check/uncheck multiple items without closing/reopening.  Custom text when closed up would be nice too. Off-the shelf component suggestions also welcome.

Comments

  1. Favorite way:
    • F6
    • TcxCheckComboBox
    • Enter

    ReplyDelete
  2. The same as Martin Wienold TcxCheckComboBox

    ReplyDelete
  3. Can anyone give an example where that's a good UI? What do you display when the control is not dropped?

    ReplyDelete
  4. David Heffernan The TcxCheckComboBox displays the items as a semi-colon separated list by default IIRC.

    ReplyDelete
  5. I've not used anything other than TcxCheckComboBox, primarily because we got DevExpress and so we use their components due to the layout thingy.

    ReplyDelete
  6. David Heffernan Here's how I used it at work (text is in Norwegian but shouldn't matter): https://www.dropbox.com/s/23ypaa9695924c1/CheckComboBox.png?dl=0
    This also shows how it displays the items when not dropped down. 

    And Lars Fosdal, I just tested and it allows you to use arrow keys and space to select multiple items without closing.

    ReplyDelete
  7. David Heffernan for a list with let's say 4 elements:
    "All"/"None" or "n of 4"
    "Item1; Item3"
    a bit table, hex value, or similar
    are possible options. It depends on how much space you have and what kind of content the check list has.

    ReplyDelete
  8. I think we use one when filtering a GridView, there are 4 kind of elements (example: error, warning, info, debug) and all are displayed by default. If one only wants to view kind 1 and 3, this is our solution.
    To be fair, this is some kind of edge case and most of the time one wants to view all entries.

    ReplyDelete

Post a Comment