Hi everybody,
My app implements switching views (actually three views) with a tabgroup on its navidecorator.
The default view (tab) is the first one.
In the second tab(view) I have a filtered listbox and a searchfield.
Before I build the last two components I could switch between tabs(views) using LeftArrow and RightArrow but now, I can switch from first tab to second tab (the one with the listbox and searchfield) but then I couln't switch neither to the third nor the first ones.
I suspect that has something to do with my AppUI's HandleKeyEventL or the OfferKeyEventL mechanism.
Any help will be much apreciated.
Thanks in advance.
You don't say whether you write your application in C++ or Java, but given that you mention HandleKeyEventL and OfferKeyEventL I assume it is in C++.
This sounds like a focus management problem, e.g. one of your controls in the view gets focus when you switch to it rather than the view or tab control itself. E.g. the left / right key events will go to that control instead of to the mechanism that switches view. If your control doesn't consume the key, it would potentially "bubble up" to the containing control, but that might have to transfer it "down again" into the tab control.
It's difficult to be more specific given the quite generic description of the problem, but it's something to check out at least...
Regards,
/Cruizer.
Hi,
Thanks again Cruizer, actually I believe that the focus is got by the searchfield but the same goes with nokia 3650 Contacts App and we still can change from contacts tab to groups tab. I need to do the same in my App.
How specific could I be in order that you can help me more. Is it possible to change focus. How could I return the focus from searchfield to the tab/view.
Thanks in advance.