SageTV Community  

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

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-24-2006, 02:45 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Proof of concept: Scollbars

Narflex has kindly added some new 'implicit' table and panel context variables to the v6.0 which allow real scrollbars to be created in Studio.
Quote:
Originally Posted by narflex
(from V6 beta release notes)
10. Added context variables to Tables of:NumColsPerPage, NumRowsPerPage, HScrollIndex, VScrollIndex
13. Added HScrollIndex and VScrollIndex vars for scrolling panels (they're floats in Panels). They'll go between 0 and NumPages.
Attached is an STV that has proof-of-concept code, and demo pages for these scrollbars, which any studio dev is welcome to take and use in their STV.

The table scrollbar panel will work for most table types (multi col or single col) without any modification. The only caveat is if the table has wrap-scroll enabled, then you need to have an attribute 'WrapVScroll=true' as the table child to indicate to the scrollbars that the table is wrapped. I have asked that this be added as an implicit context var in Studio in a future version.

The scrollbars are not mouse-draggable in the traditional sense (you cannot pick up the 'thumb' and drag it), but clicks and drags above the 'thumb' will send PageUp, and clicks/drags below the 'thumb' will send PageDown, so it behaves in a similar way if you drag it to a position.

Enjoy!
Attached Files
File Type: zip scrollbars.zip (59.3 KB, 313 views)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #2  
Old 11-26-2006, 12:15 AM
Wade Wade is offline
Sage User
 
Join Date: Feb 2006
Location: NoVA
Posts: 33
I like the idea of the scrollbars, so you know where you are in a list.

Keep up the great work!
Wade
Reply With Quote
Reply


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


All times are GMT -6. The time now is 09:30 AM.


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