![]() |
|
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
|
||||
|
||||
DisplayIndex as a global variable?
I'm trying to figure out how to make my Recordings screen expand folders, but be aware if a group is larger than can be displayed, then adjust focus as necessary.
I'm able to use EnsureVisibilityForVariable() to make a variable go to a certain display index in the table, but I have no way of telling what display index the item is at to begin with, so I can't tell if my group is larger than the available spaces in the UI. Am I missing a simple way of calculating this? I've attached an example of how this would be used. Thanks! Edit: BTW, where can I request that the animation core do a nice table scroll animation when EnsureVisibilityForVariable() has to scroll to view that item? Edit2: Realized I should have titled this "DisplayIndex as Predefined Local Variable" sorry for the confusion. Last edited by Crashless; 12-30-2007 at 02:10 AM. Reason: feature request, confusion |
#2
|
||||
|
||||
TableRow gives the index of an item in the entire table.
VScrollIndex gives the index of the first displayed item. TableRow - VScrollIndex gives the index of an item relative to the visible portion of the table on screen.
__________________
-- Greg |
#3
|
||||
|
||||
Ah HA!!!
I knew I was missing something about that stuff, I just couldn't get it to work reliably for some reason before. All seems well now though. Thanks! |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can MVP handle variable bitrate MP3s? | cncb | SageTV Media Extender | 2 | 10-21-2007 05:29 PM |
Help with accessing Variables and variable Context. | stanger89 | SageTV Studio | 6 | 11-01-2006 09:38 AM |
UI layout question (variable height text) | dflachbart | SageTV Studio | 5 | 08-26-2006 08:18 AM |
Feature Suggestion: 'global' padding option | ben_gb | SageTV Software | 2 | 03-06-2006 04:05 PM |
What's the Bitrate? | dcol | SageTV Recorder Software | 10 | 06-13-2004 02:21 PM |