Board index » cppbuilder » Using Accelerators

Using Accelerators


2008-04-25 04:59:47 PM
cppbuilder80
On my form there is a label + an edit control.
The label has an accelerator (Alt+A).
How can I make the focus goes to the edit
on pressing the accelerator?
--Harish
 
 

Re:Using Accelerators

On or about 25 Apr 2008 01:59:47 -0700 did "Harish" < XXXX@XXXXX.COM >
dribble thusly:
Quote

On my form there is a label + an edit control.
The label has an accelerator (Alt+A).
How can I make the focus goes to the edit
on pressing the accelerator?
Set the FocusControl property of the TLabel to the TEdit.
For future reference, it would probably take you less time to type a simple
question like this than to look it up in the documentation.
 

Re:Using Accelerators

Mike Ruskai < XXXX@XXXXX.COM >wrote:
Quote
For future reference, it would probably take you less time to type a simple
question like this than to look it up in the documentation.
Hi Mike Ruksai,
Thanks for answering.
(Sorry about the question being too simple.
Although VCL is light years ahead of VCPP/MFC,
searching through Borland documentation
has been a nightmare to me. At least when
compared to MSDN which I am used to.)
-Harish
 

{smallsort}