![]() |
|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Default Focus
I am having trouble configuring the default focus for tables not quite sure where to call it as I keep locking sage up trying.
I am using ensurefocusforvariable and setfocusforvariable to keep scrolling centered. I am wanting upon menuload to set the focus in the center of the table. I have tried menuneedsdefault focus hooks in the main menu and layoutstarted within the table but nether gets me results as I am guessing I am calling wrong underneath the hooks. Under these hookes do I need to be using setfocusforvariable or ensurefocusforvariable or both? TIA, pluckyhd |
#2
|
|||
|
|||
After Looking at some examples I see how to call it but it doesn't seem to work
I am using EnsureVisibilityForVariable("VideoCell",GetElement(GroupedVideos,0),5) SetFocusForVaraible("VideoCell",GetElement(GroupedVideos,0)) VideoCell = Cell of table GroupedVideos = is the group for the table Can I call getelement within it like this? Do I need to be doing this somwhere under the table widget instead of in menuneedsdefault focus? |
#3
|
||||
|
||||
I worked through a similar problem a while back:
http://forums.sagetv.com/forums/show...ighlight=focus Also, I have some updated code in my STV I haven't released yet that uses a similar trick. Let me know if you'd like a copy emailed. |
#4
|
|||
|
|||
Yeah I have it working on listeners like that no problem but I can't get it to set the focus on menu load to where I want it.
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Not understanding focus | PLUCKYHD | SageTV Studio | 4 | 04-07-2009 08:18 PM |
Use eHome remote without focus | Beaker | Hardware Support | 0 | 01-28-2008 07:23 PM |
Focus Problems | rmbu | SageTV Software | 2 | 01-02-2006 03:34 PM |
No focus w/usbuirt | stingray | Hardware Support | 7 | 12-05-2004 10:36 PM |
keep sage always in focus | phantomfsoc | SageTV Beta Test Software | 11 | 05-07-2004 08:25 PM |