:: Forum >>

Button does not appear


I wrote the following code. I can see the html text but not the button


<title>Job Functions</title>

<script language="JavaScript" src="../../../runtime/lib/grid.js"></script>
<link href="../../runtime/styles/xp/grid.css" rel="stylesheet" type="text/css"/>


// create ActiveWidgets component
var obj = new AW.UI.Button;

// set the display text
obj.setControlText("Click me");

// assign click event handler
obj.onControlClicked = function(){
this.setControlText("Hello World!");

// add component to the page
Thursday, January 4, 2007
The button class is not available in version 1.0
Alex (ActiveWidgets)
Thursday, January 4, 2007

This topic is archived.

Back to support forum

Forum search