| Properties Summary | |
boolean |
disabled
The Next button is disabled (true) or enabled (false). |
boolean |
visible
The Next button is visible (true) or not visible (false). |
| Properties Detail |
disabled
boolean disabled
-
The Next button is disabled (true) or enabled (false). When the button is disabled, the user cannot
click on it.
Example:
The following Klip illustrates the disabling of the Next button on both Pages in the Action Window.
<?xml version="1.0" encoding="UTF-8" ?>
<klip>
<identity>
<title>
API - Actions.Window.Next
</title>
</identity>
<locations>
<icon>
http://www.klipfolio.com/static/klips/klipfolio/sample_icon.png
</icon>
<banner>
http://www.klipfolio.com/static/klips/klipfolio/sample_banner.png
</banner>
</locations>
<klipscript>
<![CDATA[
function onLoad()
{
// Add a Button
Actions.Button.show("Go");
Actions.Button.onClick = showGo;
// Add a Stack named "Test1"
var stack = Actions.Window.addStack("Test1");
// Set the title for the window's title bar
stack.title = "Actions.Window.Next.disabled = true";
Actions.Window.Next.disabled = true;
// Add a Page named "Step1" to "Test1" Stack
var page = stack.addPage("Step1");
page.addText( "Step 1" );
// Add a Page named "Step2" to "Test1" Stack
var page = stack.addPage("Step2");
page.addText( "Step 2" );
}
function showGo()
{
// Open window with Test1' stack on Step1 page
Actions.Window.show("Test1", "Step1");
}
function onRefresh() {
return true;
}
]]>
</klipscript>
</klip>
visible
boolean visible
-
The Next button is visible (true) or not visible (false).
|
Klipfolio Dashboard 5 API | ||||||||
| PREV OBJECT NEXT OBJECT | FRAMES NO FRAMES | ||||||||
| SUMMARY: PROPERTY | FUNCTION | DETAIL: PROPERTY | FUNCTION | ||||||||
© 2009 Klipfolio Inc. All Rights Reserved.
