Section Footers

From Lianjapedia
Revision as of 13:08, 9 January 2015 by Yvonne.milne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Under Construction

Visible

Section footer visible (True | False).

Query or change the Visible attribute using Lianja.get("page.section").footervisible.


Caption

Section footer caption.

Query or change the Caption attribute using Lianja.get("page.section").footercaption.

Height

Section footer height

Background color

Section footer background color

Foreground color

Section footer foreground color

Custom menu

Section footer menu contents (comma separated list of values). 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. Alternatively, prefix the list with + to display the menuitems as horizontally autosized buttons (tablet style buttons).

Query or change the Custom menu attribute using Lianja.get("page.section").footermenu.

Custom action

Action to perform when a footer menuitem is selected. See SHOWDOCUMENT().

Footer button CSS

Footer button CSS style (separate attributes with ; or use app:/filename.css)

Footer button width

Footer button width

Custom Delegate: Custom footer menu

The delegate for the footer menu event.

Can be an inline delegate

////////////////////////////////////////////////////////////////
// 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");
	}
};