|
-
Mar 24th, 2011, 01:46 PM
#10
Re: Disable input during processing.
 Originally Posted by GDeRousse
Well, if you're still looking I think you just have to reference the buttons directly in code:
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Button1.Enabled = False
System.Threading.Thread.Sleep(1000)
Button1.Enabled = True
End Sub
I tested this and as soon as I clicked Button1 it became disabled for 1 second
try harddisk's code. seems to be a vs bug
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|