Jump to content

TUniGrid focus


Dimitri

Recommended Posts

Hi,

I use the function keys (F3 for example) to open modal form with the OnKeyDown event of a grid.
After closing this modal form I focus the grid to get back.

UniSession.AddJS (FDbGrid.JSName + '. Focus ();');

Then F3 key no longer opens a modal form but opens my browser search.

How to correctly force the focus on a TUniGrid component?

Thank you

UniGUI: 1.50.0.1484

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