TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
koen.henkens
NA
1
0
Active form problem???
Apr 9 2004 12:20 AM
Hi all. I'm still a newbie to c# so please bear with me :) I'm working on a game that will display a form that presents a question. on this form, there is a label that shows the question and 4 buttons (a,b,c,d) that have the answer. The players (3 possible) can buzz-in to answer the question by pressing their assigned buzzer key on the keyboard. This then allows them to answer the question by either pressing the appropriate answer choice on the keyboard (a,b,c,d) or by using the mouse and clicking on the button. If they select the answer using the keyboard and get the question wrong, then the other players are able to buzz-in - which is how it should be. however, if they click the answer button with the mouse and get the question wrong, then no one else is able to buzz-in. I've also noticed that the button the player clicks, has the thicker border or whatever showing that it has focus or is the active control, whatever. I've tried setting the focus back to the form (frmQuestion.ActiveForm.Focus()) in each of the button's click events, and this seemed to work for a little while. Then it stopped working for whatever reason. I've been unable to find any other solution to this. Your help is greatly appreciated. Thanks in advance!
Reply
Answers (
0
)
System.Timers????
VISIO SDK problems