Section Footers
Under Construction
Sections can have a 'Footer' displayed at the bottom of the Section. This can be made Visible or hidden. It can display a Caption. It can also have a Custom menu accessed via a cog icon in the bottom left hand corner (in addition to the Caption) or a series of Buttons (no Caption). The Custom menu can trigger a Custom action (SHOWDOCUMENT(), call an Inline Delegate or call a Custom delegate script.
Double-click on the Section header or click the cog icon to access the Section Attributes. Scroll down to the Footer sub-section.
Contents
Visible
Section footer visible (True | False).
Query or change the Visible attribute programmatically using Lianja.get("page.section").footervisible.
Caption
Section footer caption.
The footer caption can also be formatted with HTML.
Query or change the Caption attribute programmatically using Lianja.get("page.section").footercaption.
Height
Section footer height
Background color
Section footer background color
Foreground color
Section footer foreground color As Section footer background color. Save the Attribute to see the color change as greyed out while in Section Attributes dialog.
Section footer menu contents (comma separated list of values).
To run
If this list starts with #, then the menuitems are displayed as centred buttons.
Prefix the list with #< or #> to display the buttons aligned left or right respectively.
Prefix the list with #< or #> to display the buttons aligned left or right respectively.
Alternatively, prefix the list with + to display the menuitems as horizontally autosized buttons (tablet style buttons).
Query or change the Custom menu attribute programmatically using Lianja.get("page.section").footermenu.
Custom action
Action to perform when a footer menuitem is selected. See SHOWDOCUMENT().
Footer button CSS style (separate attributes with ; or use app:/filename.css)
Footer button width
The delegate for the footer menu event.
Can be an inline delegate
Or name of a script.
//////////////////////////////////////////////////////////////// // Event delegate for 'custommenu' event proc employees_section1_custommenu(action) do case case action = "page2" messagebox("You selected page2") case action = "page3" messagebox("You selected page3") otherwise messagebox("You selected page4") endcase endproc
//////////////////////////////////////////////////////////////// // Event delegate for 'custommenu' event function employees_section1_custommenu(action) { if (action == "page2") { messagebox("You selected page2"); } else if (action == "page3") { messagebox("You selected page3"); } else { messagebox("You selected page4"); } };