can anyone help me...............
in the attachment i've made textfield and a button.........in that on pressing "A" the count begins which is been displayed in the label..........but the speed of the counting is very fast when pressed down without releasing......can anyone tell me how to reduce the speed of the count.........i want an average speed but not like that of clock second speed but rather a little more.............
Jessurider
-10
Posting Whiz in Training
Recommended Answers
Jump to PostU can use Thread.Sleep(500); //somehere in the code - 500 is 0.5 secund
Jump to PostThat's because you are running everything in the GUI thread, and you don't give it time to update. Put
lable1.Refresh();
between lines 40 and 41 in your code.
All 7 Replies
Jessurider
-10
Posting Whiz in Training
Mitja Bonca
557
Nearly a Posting Maven
Jessurider
-10
Posting Whiz in Training
Mitja Bonca
557
Nearly a Posting Maven
Jessurider
-10
Posting Whiz in Training
Momerath
1,327
Nearly a Senior Poster
Featured Poster
Jessurider
-10
Posting Whiz in Training
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.