Jump to content

Переход на следующий элемент Uniedit по нажатию Enter


Dmitriy

Recommended Posts

Всем доброго здравия! Столкнулся с такой задачкой, имеется 10 компонентов UniEdit и необходимо чтобы после введения числового значения в UniEdit и нажатию Enter, фокус присваивался бы следующему элементу Edit (или указанному). Как это реализовать?

function keypress(sender, e, eOpts)
{
 if (e.getKey() == 13 ) {   ??
}

 

Link to comment
Share on other sites

1 hour ago, Dmitriy said:

имеется 10 компонентов UniEdit и необходимо чтобы после введения числового значения в UniEdit и нажатию Enter, фокус присваивался бы следующему элементу Edit

Здравствуйте,

Вы также можете проанализировать этот демо пример:

\FMSoft\Framework\uniGUI\Demos\Desktop\FormNavigate

 

Link to comment
Share on other sites

22 hours ago, Sherzod said:

Здравствуйте,

Вы также можете проанализировать этот демо пример:


\FMSoft\Framework\uniGUI\Demos\Desktop\FormNavigate

 

Огромное спасибо, это то что нужно!

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