Board index » cppbuilder » DownArrow key in TButton

DownArrow key in TButton


2005-01-02 07:12:24 AM
cppbuilder26
Hi
There is a Form1 with two DBEdit and a Button
DBEdit1
DBEdit2
Button1
I want when I'm in DBEdit1 and I press Down Key in Arrows
my cursor Tabs into DBEdit2
and when I press DownKey (arrow) again,
the focus become Button and then I can press Enter to make a OnClick event
for Buttn1.
Please help
thx
 
 

Re:DownArrow key in TButton

see the thread BEGIN_MESSAGE_MAP
and instead of VK_F1...VK_F12
put VK_UP...VK_DOWN
"Pedram" < XXXX@XXXXX.COM >wrote in message
Quote
Hi
There is a Form1 with two DBEdit and a Button

DBEdit1
DBEdit2
Button1

I want when I'm in DBEdit1 and I press Down Key in Arrows
my cursor Tabs into DBEdit2
and when I press DownKey (arrow) again,
the focus become Button and then I can press Enter to make a OnClick event
for Buttn1.
Please help
thx