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!