0

Widget Focus Issues

FAQ - This post is taken from a list of the most frequently asked questions during the pre-release of the WDK

Is there a way to force the focus to a Kontc.control.Grid? My issue is that upon entering the Home page sidebar, I have to wait until data arrives to tell me the size of my image grid so I can create it. By the time the data arrives, the focus has already defaulted to the HOME button at the top of the screen. I know I can create a grid object when the screen is first built, but as far as I can tell, I have to removed that child and rebuild the grid if the data gives me new grid dimensions. So I was trying to avoid that.

by
2 Replies
  • QUOTE (Roger U @ Mar 7 2009, 09:02 PM) <{POST_SNAPBACK}>
    FAQ - This post is taken from a list of the most frequently asked questions during the pre-release of the WDK

    Is there a way to force the focus to a Kontc.control.Grid? My issue is that upon entering the Home page sidebar, I have to wait until data arrives to tell me the size of my image grid so I can create it. By the time the data arrives, the focus has already defaulted to the HOME button at the top of the screen. I know I can create a grid object when the screen is first built, but as far as I can tell, I have to removed that child and rebuild the grid if the data gives me new grid dimensions. So I was trying to avoid that.


    Fixed in new framework. Just call grid.focus();
    0
  • If you find any of this FAQ confusing or have additional questions, please open a new post with your specific question.
    0

Recent Posts

in General - Yahoo! TV Widgets