question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TAB does not cycle controls across two Windows

See original GitHub issue

I think this should work.

UI Catalog’s window hierarchy is:

                    Top
                     |
         +-----------+-------------+
         |                         |
     Left Pane                  Right Pane
         |                         |
      ListView                  ListView

image

Both ListViews have CanFocus = true.

TAB does not work to move between them. I tried putting CanFocus = true on the right/left pane windows too; but that didn’t work.

I think TAB (FocusNext() et. al) should work across hierarchies like this.

As a workaround, I’m having to hack by using the StatusBar have a StatusItem for Key.Tab and manually doing top.FocusNext(). However, this exposes another bug (I think) it that it’s finding three items to to focus, not two, but I haven’t debugged this fully yet.

If ListView (and all windows) supported a border property, I could do this without having to have the extra layer of windows.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
tigcommented, Jul 15, 2020

I believe so, but it’s probably not worth fixing at this point.

0reactions
BDispcommented, Mar 10, 2021

To navigate across various Window views in the same Toplevel is possible by pressing Ctrl+Tab (forward) and Ctrl+Shift+Tab (backward).

Read more comments on GitHub >

github_iconTop Results From Across the Web

I can't cycle through all the controls in the window ...
You can traverse all child controls through the EnumChildWindows function. However, it should be noted that your clear button and the other ...
Read more >
Assigning cmd-tab behavior to a mouse to flip between ...
On a keyboard, quickly pressing command-tab does not actually cycle through all windows, but switches back and forth between the two most ...
Read more >
Cmd+Tab does not work on hidden or minimized windows
Try this: On your Mac,. Navigate to System Preferences; Go to Mission Control; Uncheck "When switching to an application, switch to a Space...
Read more >
Tab Cycling Between Different Windows, Same ...
Hi, I'm new to using Mac everyday and struggling with tab cycling between windows. I'm working on two different Excel worksheets or window...
Read more >
Ctrl+tab shortcut stopped working?
Ctrl+SHIFT+tab still works to cycle *backwards* between tabs, but ctrl+tab just stopped working to cycle forward. This applies globally -- ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found