Results 1 to 2 of 2

Thread: check if button is clicked

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2009
    Posts
    37

    check if button is clicked

    how can i check if a command button is clicked in vb.net 2003?

  2. #2
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,424

    Re: check if button is clicked

    why would you want to?

    heres how anyway:

    vb Code:
    1. Dim clicked As Boolean = False
    2.  
    3. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    4.     clicked = True
    5. End Sub

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