Jump to content

FindNextControl


Bernie07
 Share

Recommended Posts

Hello,

 

is there a way to find the next Control for the taborder. In windows application there is the function TForm.FindNextControl. I'm able to call this function also in TUniForm but it has no effect. I always returns nil instead of the next tab order control.

 

Best wishes

Bernhard

Link to comment
Share on other sites

I found now another way to navigate through my controls with the return key. There is a property NavigateKeys.

 

But the problem is that only Input controls like TUniEdit and TUniCombobox are found. Is there a way that also TUniButton and TUniBitBtn are found and getting the focus.

 

Best wishes

Bernhard

Link to comment
Share on other sites

Thanks for your answer.

 

The problem with SelectNext is, that it only jumps to the next Input control like TUniEdit, TUniCombobox, TUniMemo and so on.

But if the next control is a button like TUniBitBtn it overjump it. Is there a way also jump with SelectNext to a button, if the next control is a button?

 

Best wishes

Bernhard

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.

 Share

×
×
  • Create New...