Hello
The users of my app will not have keyboards or mouses connected to their computers, they will click on the screenI don't now what you call it in english, when you have "clickable" screens, is it TouchScreens?.
I want to give the users the ability to use multiselect (with Ctrl) in a listbox. I was thinking of putting a checkbox with style="graphical" and then check in the mousedown if the "checkbox" was checked. Then I would put shift=2 (CTRL) and that would give me the multiselect like this:
But the shift-state need to be set before the user clicks on the listbox. Is there a way to solve this?Code:Private Sub lstDelete_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) If chkMultiSelect.Value = 1 Then Shift = 2 'CTRL End If End Sub




Reply With Quote