Senior Member
Volunteer Data File Contributor
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633
|
Mathias,
When constructing a form that displays a fixed table (Class Features for example) that will be shown through an action portal, do I need an entity and gizmo or is that optional for the form? RavenX Pronouns: She/Her Please do not PM me to inquire about datafiles I coded "for personal use" such as Exalted, World of Darkness, AD&D, or Warhammer 40K Roleplaying. I appreciate your interest, but I do not own the Intellectual Property rights to these game systems. Nor do I have permission from any of the Publishers to distribute the data files. As such, I cannot distribute the work I have done with community on these files. They are "for personal use" only. Thank you. I am far too busy these days to answer emails. If you message me here there is no guarantee I will get back to you at all. |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,217
|
You don't need a gizmo.
Here's the spellbook button in pathfinder: Code:
<portal id="cSpellbook" style="actBook"> <action action="form" form="ClsBook"> </action> </portal> Code:
<!-- SPELLBOOK FORM - form --> <form id="ClsBook" name="Spellbook" marginhorz="5" marginvert="5" tabletmarginhorz="10" tabletmarginvert="10"> <layoutref layout="ClsBook"/> <position><![CDATA[ layout[ClsBook].height = height - (layout[ClsBook].top * 2) layout[ClsBook].width = 780 perform layout[ClsBook].render ~ Set the width of the form width = layout[ClsBook].width height = layout[ClsBook].height ]]></position> </form> |
#2 |
Senior Member
|
This is exactly what I was looking for, thanks Mathias, one less question I have to ask!
BoomerET Castles & Crusades Ruleset for Hero Lab Hero Lab (5E D&D) -> Fantasy Grounds Character Converter |
#3 |
|
|