Results 1 to 3 of 3

Thread: Multiselect without Keyboard

  1. #1

    Thread Starter
    Hyperactive Member onerrorgoto's Avatar
    Join Date
    Aug 1999
    Location
    Sweden
    Posts
    330

    Question

    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?
    Onerrorgoto

    Dont be to optimistic, the light at the end of the tunnel might be a train

  2. #2
    Guest
    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?

  3. #3

    Thread Starter
    Hyperactive Member onerrorgoto's Avatar
    Join Date
    Aug 1999
    Location
    Sweden
    Posts
    330

    Thumbs up 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.
    Onerrorgoto

    Dont be to optimistic, the light at the end of the tunnel might be a train

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width