0

search suggest keyboard focus

We are using the search suggest view and currently when displaying the view for the first time, the default focus goes to the back button. Instead, would like the focus to go to the keyboard. We have tried using this.focusView() but it makes no difference.

Any ideas?

by
1 Reply
  • QUOTE (c.penny67 @ May 21 2009, 07:14 AM) <{POST_SNAPBACK}>
    We are using the search suggest view and currently when displaying the view for the first time, the default focus goes to the back button. Instead, would like the focus to go to the keyboard. We have tried using this.focusView() but it makes no difference.

    Any ideas?


    Please provide a code sample of what you are doing. Also please make sure you read this immediately too:

    http://developer.yahoo.net/forum/index.php?showtopic=1579

    -Jeremy
    0
  • Hi,

    i also have the problem that the focusView routine is called on first creation, but the focus is not set to the default item i want, instead it is set to an other item.

    i use: ywe-wdk_0.9.6-19_i386.deb in the emulator.

    would be great if someone has a solution....

    my routine looke like
    CODE
    var MainView = new KONtx.Class({
    ClassName: 'myClassName',

    Extends: KONtx.system.SidebarView,

    focusView: function() {
    log('-------------focusView');
    this.controls.mygrid.focus();
    },

    createView: function() {
    MainViewThat = this;
    ....button and grid creation...
    },
    });


    cheers, torsten :r
    0
  • BTW: Is there a newer SDK availble?
    0

Recent Posts

in General - Yahoo! TV Widgets