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
Printable View
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....
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