Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
705
How to make the focus unchanged when switching between tabs
posted

Hi,

We are using Smart Client Software Factory, and UltraTabWorkspace. And our Form is opened in a TabWorkspace.

For example, there is a DataGrid, and a row is selected, when user double click it, a new tab will open, and the user can close the new tab, then the previous tab will be actived, but the focus will be on the title of tab, then the original focused row lost the focus. Our end user complains that it's very hard to use.

Is there any way to keep the original focus when a tab got focus? Compare to the IE7, we found it will not set the focus to tab header, and if I inputed something in the form, the focus will still be there when switching between tabs.

Thanks. 

Parents
No Data
Reply
  • 918
    posted

    I'm not sure exactly what you're asking but I believe you want the original grid row to be focused when the focus returns to the grid.  When I want that to happen I store the row ID in a variable and loop through the rows and activate when the row ID matches the saved value.

Children