SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Studio
Forum Rules FAQs Community Downloads Today's Posts Search


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
Old 12-30-2007, 01:58 AM
Crashless's Avatar
Crashless Crashless is offline
Sage Icon
Join Date: Oct 2003
Location: Los Angeles, CA
Posts: 1,224
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.


BTW, where can I request that the animation core do a nice table scroll animation when EnsureVisibilityForVariable() has to scroll to view that item?

Realized I should have titled this "DisplayIndex as Predefined Local Variable" sorry for the confusion.
Attached Images
File Type: png DisplayIndexCode.png (20.1 KB, 274 views)
Give the Meekell STV a try!

Last edited by Crashless; 12-30-2007 at 02:10 AM. Reason: feature request, confusion
Reply With Quote
Old 12-30-2007, 02:32 AM
GKusnick's Avatar
GKusnick GKusnick is offline
Join Date: Dec 2005
Posts: 5,083
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
Reply With Quote
Old 12-30-2007, 11:01 AM
Crashless's Avatar
Crashless Crashless is offline
Sage Icon
Join Date: Oct 2003
Location: Los Angeles, CA
Posts: 1,224
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.

Give the Meekell STV a try!
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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

All times are GMT -6. The time now is 05:48 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.