Starfinder Playlist
  1. #1
    Varsuuk's Avatar
    Join Date
    Dec 2015
    Location
    New York
    Posts
    2,075

    scrollbarcontrol and multiple scrollbar_record/targets?

    [SOLVED - was brain flatulence]

    Usually I have been learning by inference/context. In the case of this windowclass: "<windowclass name="reference_race">" from 5E ruleset, what does having those 2 "scrollbar_record" mean/do?

    I read the description of <target> in scrollbarcontrol (after manually tracing the inheritance since there is no global search ) and found it. So, I get how the one with <target>text</target> works. But I do not see in 5E (or CoreRPG) a <stats> element to be scrolling. Then, too, how does it work having 2 things to scroll?

    Or, is the second one automatically assumed to work on second tab by FG?
    Any "in a nutshell" truths for me?



    Code:
    			<frame_record_content_tabbed name="contentframe" />
    
    			<ft_record name="text">
    				<anchored to="contentframe" position="over" />
    				<invisible />
    			</ft_record>
    			<subwindow_record name="stats">
    				<class>ref_race_stats</class>
    			</subwindow_record>
    
    			<scrollbar_record>
    				<target>text</target>
    			</scrollbar_record>
    			<scrollbar_record>
    				<target>stats</target>
    			</scrollbar_record>
    			
    			<tabs_recordsheet>
    				<tab>
    					<icon>tab_main</icon>
    					<subwindow>text</subwindow>
    				</tab>
    				<tab>
    					<icon>tab_other</icon>
    					<subwindow>stats</subwindow>
    				</tab>
    			</tabs_recordsheet>


    EDIT: Ugh, I searched on "<stats" didn't even think that of course it could be referring to this by name not node. So yeah, the "stats" in question here is simply the "<subwindow_record name="stats">" earlier in the definition.

    So, I guess if you have 3 tabs you can setup 3 scrollbar_record's at the top level and it knows which tab to put it in via the name. Sorry, left this here in case it has any value (I think not) - if not feel free to erase this thread as clutter.
    Last edited by Varsuuk; April 7th, 2019 at 04:28.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in