Jump to content

Use Enter as Tab


Venon

Recommended Posts

Good morning, I have a form that contains a TUniPageControl with two tabs, the first one I use to search for records and the second I use to view the information of the records and to create new records, I would like only in the registration tab
I could use the enter as tab.
I tried to change the KeyNavigation.enabled = true and KeyNavigation.next.key = 13, however when I do this influence in my search, therefore I use enter to search.
So I tried to set the Keynavigation properties in the OnChange event of my TuniPageControl according to the tabs. But when I use it this way in the records tab
when I click on a TEuniEdit for example it is as if it does not get focus, the "|" indicator does not appear. to allow typing and I can not type anything, in addition the screen looks a lock.
Can anyone give me any hints how could I do this?

Thank you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...