Announcement

Collapse
No announcement yet.

CheckListBox - Selection by space key rather than mouse click

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CheckListBox - Selection by space key rather than mouse click

    Users can select entries with space key in a check list box. But I cannot detect the selection in "On CtrlMessage".
    There I have a "if (e_MsgID == MSGID_CLICKED) but wil never notice a space selection.
    Using the mouse works fine.
    Your help is appreciated, thanks in advance.

  • #2
    Checking or unchecking an already selected item in a Checklist box control using the space bar does not fire an event. You will need to verify the selection made by the user in the On Next event, or, if you need to give some visual feedback without leaving the screen, you could use a timer and scan for changes in the control in reasonable intervals.

    Ulrich

    Comment


    • #3
      Thanks Ulrich. I added some code using GetItemProperties() in "OnNext" and it works fine.

      Comment

      Working...
      X