on 07-10-2009 7:41 AM
Hai All,
I am trying to navigate the cursor control from one Ui Element To another Ui Element On Choosing TAB Key.
Please Provide Any related Documents and suuggetions for my requirement.
Thanks,
Sreevathsava.G
You dont need to do anything for this. This is taken care by the framework. The control automatically moves from one UI element to another when you press tab key. However if you still want to set the focus at a particular UI element you can use the method FOCUS. This method is part of every UI element class.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hai pooja ,
yes tab key is working with out any code,
but problem is from last UI element it goes to the URL and then it is moving to menu ...................
after completion of all it comes again to view .
so please tell me how to restrcit that one.
i.e how to set how to move from last UI Element To First UI Element.
Thanks,
Sreevathsava.G
You can't control this. This is is how the browser works. After tabing through all elements in the its content area, it moves to the elements of the browser itself. This is necessary for accessibility.
There are no server events triggered upon tab, so there is no way to intercept the last tab on the WD page and redirect the focus.
Hi,
The usual moving of cursor to the next element in the UI with TAB access is automatic and supported by framework and for setting the focus on a particular element can be controlled by writing below code in WDDOMODIFYVIEW hook method.
data: lv_v_elem type ref to if_wd_view_element.
lv_v_elem = view->get_element( 'INPUSERID' ).
if lv_v_elem is bound.
view->request_focus_on_view_elem( lv_v_elem ).
endif.
Regards,
Manne.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.