DICE PACKS BUNDLE
  1. #1
    Varsuuk's Avatar
    Join Date
    Dec 2015
    Location
    New York
    Posts
    2,075

    Example of what I wish I could do

    I just finished adding the code to handle drag and drop handling new class, initializing multi-class, initializing dual-class (although I have a question on FGG forums asking about DC rules) and adding a new level to existing single/multi or special case for dual. All good (so far as have tested)

    Now, moved to Race. Started by opening 5E frame_race.xml to use that as my start point and immediately noticed it had "player control" (which reference_class.xml also had an I apparently didn't include in my reference_class.xml file.:
    Code:
    	<windowclass name="reference_race">
    		<frame>recordsheet</frame>
    		<placement>
    			<size width="350" height="350" />
    		</placement>
    		<sizelimits>
    			<minimum width="300" height="300" />
    			<dynamic />
    		</sizelimits>
    		<minimize>minimized_reference</minimize>
    		<tooltip field="name" />
    		<nodelete />
    		<playercontrol />
    		<sharable />

    So:
    1. What does <playercontrol> do? Is it for editing or for ? Unsure
    2. What I WISH I could do - go to the API page ( https://www.fantasygrounds.com/refdoc/windowcontrol.xcp ) and click in some search box entering a trait or function name or classname and have it search and come back with results. Versus trying each darn one looking for an entry that may or may not be in the docs to begin with




  2. #2
    1. That tag has been deprecated, so it doesn’t do anything any more.

    2. I just use Google when I need to perform a search like that. Try searching for “windowcontrol site:fantasygrounds.com/refdoc/” on Google.

    Regards,
    JPG

  3. #3
    Varsuuk's Avatar
    Join Date
    Dec 2015
    Location
    New York
    Posts
    2,075
    Thank Moon, I’ve tried google in past but a general google hits much I can’t use and is a lot to sift through.

    My google-fu is severely lacking, I hadn’t even heard of looking for PDFs by prefacing pdf: prior to this past year.

    I will DEFINITELY try that. At least if I don’t find something this way I can post without dreading the “duh” moment when it is pointed out.

  4. #4

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
  •  
FG Spreadshirt Swag

Log in

Log in