• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Form for displaying a table

RavenX

Well-known member
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?
 
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>
And that launches a form:
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>
 
Back
Top