ListView Multiselect without CTRL

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • GatorBait

    #1

    ListView Multiselect without CTRL

    Hi all,

    I am converting an application from Access to VB.NET and I have a quick
    question about listviews. In Access I am able to do multi selection by
    just clicking on items in a listview, i.e. I do not need to hold down
    the Control key. I can set the Multiselect property to 'Simple' in
    Access. Is there a VB.NET equivalent to that? Is there a way I can
    achieve this?

    Thanks

  • Doug Bell

    #2
    Re: ListView Multiselect without CTRL

    Hi Gator,
    I am pretty sure that you can.

    Have a look at:
    Get detailed answers to common queries about Syncfusion Windows Forms components covering installation, features, licensing, and developer support.



    Doug


    "GatorBait" <MPotok@gmail.c om> wrote in message
    news:1123708367 .661193.239690@ o13g2000cwo.goo glegroups.com.. .[color=blue]
    > Hi all,
    >
    > I am converting an application from Access to VB.NET and I have a quick
    > question about listviews. In Access I am able to do multi selection by
    > just clicking on items in a listview, i.e. I do not need to hold down
    > the Control key. I can set the Multiselect property to 'Simple' in
    > Access. Is there a VB.NET equivalent to that? Is there a way I can
    > achieve this?
    >
    > Thanks
    >[/color]


    Comment

    • Cor Ligthert [MVP]

      #3
      Re: ListView Multiselect without CTRL

      Gator,

      Do you mean the multiselect property of the listview?
      http://msdn.microsoft.com/library/de...electtopic.asp

      I hope this helps,

      Cor


      Comment

      • GatorBait

        #4
        Re: ListView Multiselect without CTRL

        Thank you both for your responses, but unfortunately that did not
        really help me get closer to a solution. I don't think the selection
        property I am looking for exists so I am going to have to try to come
        up with some code that will do multiple selections in a listview by
        just clicking on an item (without holding down CTRL)....any ideas?

        Comment

        • Cor Ligthert [MVP]

          #5
          Re: ListView Multiselect without CTRL

          Gator,

          There is a lot of not standard behaviour that is in old office programs.

          Standard selecting of multiple items you do with ctrl (or shift when they
          are behind each other). Doing not standard behaviour (even if Microsoft made
          that in past) is something I (and I am not the only one) advice you to
          avoid.

          Just my thought,

          Cor


          Comment

          Working...