<style>
#obj { left: 80px; top: 148px; width: 150px; font-weight: bold; border: 0; background-color: #f9f8f4; }
</style>
<script>
var obj = new AW.UI.Input;
device_type_input.setId("obj");
obj.getContent("box").setStyle("border", "0");
document.write(obj);
</script>
<HTML>
<HEAD>
<LINK href="/ActiveWidgets/runtime/styles/aqua/aw.css" rel="stylesheet"></LINK>
<SCRIPT src="/ActiveWidgets/runtime/lib/aw.js"></SCRIPT>
<style>
.aw-system-control {position: absolute}
#obj { left: 20px; top: 30px; }
#obj1 { left: 20px; top: 50px; }
#obj2 { left: 20px; top: 70px; }
</style>
</head>
<BODY>
<script>
var obj = new AW.UI.Input;
obj.setId("obj");
obj.setControlText("This is my really long string.");
obj.setClass("text", "normal"); // "normal", "expand" or "wrap"
document.write(obj);
var obj1 = new AW.UI.Input;
obj1.setId("obj1");
obj1.setControlText("This is my really long string.");
obj1.setClass("text", "expand"); // "normal", "expand" or "wrap"
document.write(obj1);
var obj2 = new AW.UI.Input;
obj2.setId("obj2");
obj2.setControlText("This is my really long string.");
obj2.setClass("text", "wrap"); // "normal", "expand" or "wrap"
document.write(obj2);
</script>
</body>
</html>
This topic is archived.