Question?

Discussion in 'Programming General' started by cooladrrang, Mar 7, 2007.

Question?
  1. Unread #1 - Mar 7, 2007 at 11:56 PM
  2. cooladrrang
    Joined:
    Jan 21, 2007
    Posts:
    125
    Referrals:
    0
    Sythe Gold:
    0

    cooladrrang Active Member

    Question?

    what is the event when i want to make form2.show when i double click a item at the itembox
     
  3. Unread #2 - Mar 8, 2007 at 2:07 AM
  4. X Zero
    Joined:
    Jan 21, 2007
    Posts:
    577
    Referrals:
    0
    Sythe Gold:
    0

    X Zero Forum Addict

    Question?

    lol i 'm helping ma hero :p

    listbox1_Doubleclick (blavlalvl) . listbox1.click
    Form2.show
    end sub

    something like dat. iwould help more but i'm on a diff comp:)
     
  5. Unread #3 - Mar 8, 2007 at 5:32 AM
  6. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    Question?

    Well, it would depend on the list item he wants. I'll make an example later, right now I only have half an hour before I go to bed, and I'm doing other things.
     
  7. Unread #4 - Mar 8, 2007 at 4:56 PM
  8. cooladrrang
    Joined:
    Jan 21, 2007
    Posts:
    125
    Referrals:
    0
    Sythe Gold:
    0

    cooladrrang Active Member

    Question?

    i think this is waht you mean
    Code:
     Private Sub ListBox1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles ListBox1.DoubleClick
       form2.show
        End Sub
    but it doesnt wrok i had tried it already\
    problem solved now the next is another problem ill thread it
     
  9. Unread #5 - Mar 8, 2007 at 6:28 PM
  10. slashshot007
    Joined:
    May 6, 2006
    Posts:
    164
    Referrals:
    0
    Sythe Gold:
    0

    slashshot007 Active Member

    Question?

    please explain how you got it to double click :p
    i'm thinking using a timer, but i usually tend to do things the hard way.
     
  11. Unread #6 - Mar 8, 2007 at 6:59 PM
  12. cooladrrang
    Joined:
    Jan 21, 2007
    Posts:
    125
    Referrals:
    0
    Sythe Gold:
    0

    cooladrrang Active Member

    Question?

    na it only opens when i click once not double click but it works fine
     
  13. Unread #7 - Mar 8, 2007 at 7:26 PM
  14. Skeletron
    Referrals:
    0

    Skeletron Guest

    Question?

    Yeah, that is what you wanted right?
     
  15. Unread #8 - Mar 8, 2007 at 8:07 PM
  16. cooladrrang
    Joined:
    Jan 21, 2007
    Posts:
    125
    Referrals:
    0
    Sythe Gold:
    0

    cooladrrang Active Member

    Question?

    kinda but without the if statements
     
< How to | New Progm rate it and test it plz >

Users viewing this thread
1 guest


 
 
Adblock breaks this site