|
-
Feb 16th, 2005, 08:45 AM
#1
Thread Starter
Junior Member
Problem using the spacebar to kick off an event
Hi.
I need my program to respond to a spacebar press to start a speech synthesiser. The problem i am getting is that pressing the spacebar kicks off the speech but also "clicks" a button if it has focus at the time (i.e. same as clicking on it with the mouse or pressing enter when it has focus).
Does anybody know of a way to stop a button from responding to a spacebar press?
At the minute i am using the "s" key to get around the problem but as the program is intened for use by low vision users it would be good to change this to the spacebar, as it is the biggest key on the keyboard and also easy to locate.
Thanks very much for your help.
Andy.
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
|