Skip to Content
avatar image
Former Member

Setting the cursor on UI element

Hi,

I have 6 input fields and 2 drop downs in my view.

supose

IF1, IF2...IF7 & DD1, DD2.

Now if the current cursor focus is on IF1, if user press 'tab' i want to go to IF3 which is in next line not to IF2. In short i want to set the cursor field dynamically. Pls suggest how to do this.

Thanks,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Nov 05, 2008 at 04:11 PM

    Solved at my own.

    I need to create different transparent container and put the UI elements according to my requirement in tranparent container...

    suppose two transparent container. So first it will tab thru my container 1 n then 2...

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 05, 2008 at 04:13 PM

    By the way is there any way so we can set the cursor field dynamically.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 05, 2008 at 04:15 PM

    Not possible.

    You do have an API method to allow you to set the focus:

    http://help.sap.com/saphelp_nw70/helpdata/EN/42/f74da548bc3255e10000000a1553f7/frameset.htm

    However the problem is that there is no server event that can be registered for the tab command. Therefore you can't insert any logic to be executed when the user presses tab.

    Add comment
    10|10000 characters needed characters exceeded