-
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:
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
But the shift-state need to be set before the user clicks on the listbox. Is there a way to solve this?
-
I know you might want to do the multiselect with the ctrl style...but wouldn't it be easier to just use the simple multiselect...or use two listboxes and use drag and drop to add the required items to the second list box?
-
Good Point
Good point
I was thinking of that but I thought I would be good to know how to implement the Extended Multiselect when you have a touchscreen.
If I don't get any good answers I will go with the simple Style.