Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: TabControl generates problem onKeyDown



Permlink Replies: 0
Alax Filho

Posts: 6
Registered: 7/4/14
TabControl generates problem onKeyDown
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 5, 2014 7:59 AM
The code below works perfectly with TEdit in TForm or TPanel more to enter the TEdit in TTabControl not works.
I've done everything I can not find.

procedure TForm3.onKeyDown(Sender: TObject; var Key: Word;
var KeyChar: Char; Shift: TShiftState);
begin
if Key = vkReturn then
begin
Key := vkTab;
KeyDown(Key, KeyChar, Shift);
end;
end;

Edited by: Alax Filho on Jun 5, 2014 11:59 AM
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02