Hello everyone,
I am using BCB, how do I assign a key on the keyboard to a button I created on the form?? e.g. I want to set the "B" key on the keyboard to a button on screen, when I press the "B" key, that button click.
Thanks
Hello everyone,
I am using BCB, how do I assign a key on the keyboard to a button I created on the form?? e.g. I want to set the "B" key on the keyboard to a button on screen, when I press the "B" key, that button click.
Thanks
look up keyboard accelerators in your help files....
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi
Here's one:
IDR_ACCELERATOR1 ACCELERATORS DISCARDABLE
BEGIN
"A", ID_TESTKEY_A, VIRTKEY, NOINVERT
END
Thanks for helping, but I really have no idea at all, what you put down. Would you mind explaining briefly? Like what is what.
Thankx