Author Topic: Navigating search tabs  (Read 1093 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2428
  • Hero Points: 202
  • Text
Navigating search tabs
« on: December 21, 2015, 10:40:11 pm »
Is there are keyboard way to navigate the multiple search results tabs?


Hmm... looks like you need to add this code to tbsearch.e:



 
void _tbsearch_form.'C-TAB','C-S-TAB'() { _search_tab.call_event(_search_tab.p_eventtab2, last_event(), 'e'); } 

jporkkahtc

  • Senior Community Member
  • Posts: 2428
  • Hero Points: 202
  • Text
Re: Navigating search tabs
« Reply #1 on: December 21, 2015, 10:47:01 pm »
OK, well, that makes it so you can't navigate to the other tabs that are docked in the same view.
The "Files" tool window supports C-TAB and C-S-TAB, so it has the same problem - once it has focus you can't navigate to other docked tool windows in the same view.


So, this will map it to TAB and Shift-TAB ...
Ideally, Slick would have a more well defined way to navigate through all the various bits of UI.


defeventtab    _tbsearch_form;
void _tbsearch_form.'TAB'()
{
   _search_tab.call_event(_search_tab.p_eventtab2, name2event("C-TAB"), 'e');
}

void _tbsearch_form.'S-TAB'()
{
   _search_tab.call_event(_search_tab.p_eventtab2, name2event("C-S-TAB"), 'e');
}