Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. double clicking on list view item or row in report view.........

double clicking on list view item or row in report view.........

Scheduled Pinned Locked Moved Visual Basic
question
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    r i s h a b h s
    wrote on last edited by
    #1

    hi, i am using listview control in vb6. i want to trap event for double clicking on a listview row or item and then open a form. how do i go about it?

    R 1 Reply Last reply
    0
    • R r i s h a b h s

      hi, i am using listview control in vb6. i want to trap event for double clicking on a listview row or item and then open a form. how do i go about it?

      R Offline
      R Offline
      RHYS
      wrote on last edited by
      #2

      Hi, Place the listbox control on your form and give it a name. Then double click the listbox and you will be taken into the code window. At the top of the events window you have 2 drop down boxes; the right hand list is the events list. If you click on this list you will see that below "Click" is "DblClick". You now have the double click event for your list box. With regards to opening a form there are numerous ways, this simplist being "Form1.Show". You should do a bit of reading of books as there are many ways of doing this depending on your purpose.... Kind Regards, Rhys. Rhys Kirk

      R 1 Reply Last reply
      0
      • R RHYS

        Hi, Place the listbox control on your form and give it a name. Then double click the listbox and you will be taken into the code window. At the top of the events window you have 2 drop down boxes; the right hand list is the events list. If you click on this list you will see that below "Click" is "DblClick". You now have the double click event for your list box. With regards to opening a form there are numerous ways, this simplist being "Form1.Show". You should do a bit of reading of books as there are many ways of doing this depending on your purpose.... Kind Regards, Rhys. Rhys Kirk

        R Offline
        R Offline
        r i s h a b h s
        wrote on last edited by
        #3

        idiot first of all, i'm talkin 'bout listview control not listbox control. secondly, i want to dbl click opn an item in the list view box and not on the control. plz. don't send such foolish replies! may be this isn't right place for u. :mad::| rishabh

        R 1 Reply Last reply
        0
        • R r i s h a b h s

          idiot first of all, i'm talkin 'bout listview control not listbox control. secondly, i want to dbl click opn an item in the list view box and not on the control. plz. don't send such foolish replies! may be this isn't right place for u. :mad::| rishabh

          R Offline
          R Offline
          RHYS
          wrote on last edited by
          #4

          Rishabh, Before you go around branding people "idiots" perhaps you should find out what kind of an idiot you are talking to...A+, MCP, MCAD. It was a genuine mistake that I mis-read your post and your attitude towards my mistake clearly shows your intellect; as a result I shall not post the answer you require. I shall however point you in the direction of some website which might help you in your request; I do not see why I should answer your problem. http://www.planetsourcecode.com http://www.programmersheaven.com And please leave your childish comments for the teletubbies forums. :-D Kind Regards, Rhys. Rhys Kirk

          L R 2 Replies Last reply
          0
          • R RHYS

            Rishabh, Before you go around branding people "idiots" perhaps you should find out what kind of an idiot you are talking to...A+, MCP, MCAD. It was a genuine mistake that I mis-read your post and your attitude towards my mistake clearly shows your intellect; as a result I shall not post the answer you require. I shall however point you in the direction of some website which might help you in your request; I do not see why I should answer your problem. http://www.planetsourcecode.com http://www.programmersheaven.com And please leave your childish comments for the teletubbies forums. :-D Kind Regards, Rhys. Rhys Kirk

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            hehe - and all you did was try and help the guy - keep up the good work! Paul W


            -- A wise fox has many exits from its burrow.

            1 Reply Last reply
            0
            • R RHYS

              Rishabh, Before you go around branding people "idiots" perhaps you should find out what kind of an idiot you are talking to...A+, MCP, MCAD. It was a genuine mistake that I mis-read your post and your attitude towards my mistake clearly shows your intellect; as a result I shall not post the answer you require. I shall however point you in the direction of some website which might help you in your request; I do not see why I should answer your problem. http://www.planetsourcecode.com http://www.programmersheaven.com And please leave your childish comments for the teletubbies forums. :-D Kind Regards, Rhys. Rhys Kirk

              R Offline
              R Offline
              r i s h a b h s
              wrote on last edited by
              #6

              i'm sorry for my kiddish attitude Rhys. actually i was a bit upset and in damn bad state of mind. so i could'nt control my attitude. i'm actually sorry for the reply. hoping for forgiveness!!!!!!!!!!!!!!!!! rishabhs

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups