How do you check if a button was clicked in Visual Basic .NET ?
R3B3L
0
Newbie Poster
Recommended Answers
Jump to Posttake a look at this... see if it helps.
http://www.daniweb.com/forums/thread90292.html
Jump to PostSomewhat correct. But you have to declare the variable at Form level not inside Click Event Handler
Dim bBtnClicked As Boolean = False Private Sub cmdOne_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdOne.Click If bBtnClicked = True Then MessageBox.Show("This button is clicked already ....") Else …
All 6 Replies
PsychicTide
42
Junior Poster
R3B3L
0
Newbie Poster
selvaganapathy
31
Posting Pro
R3B3L
0
Newbie Poster
R3B3L
0
Newbie Poster
selvaganapathy
31
Posting Pro
R3B3L
commented:
thanks....
+1
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.