:: Forum >>

Adding content to a group

I couldn't find an example that can write content to a group and worse I have been reading the control has not been designed for that.
After reading the sources I tried the following and it worked (of course the example is stupid but works)


var obj = new AW.UI.Group;
var obj2 = new AW.UI.Group;
obj.setControlSize(500, 200); // width, height
obj2.setControlSize(300, 100); // width, height
obj.setControlText("Group/Fieldset");
obj2.setControlText("Group/Fieldset 2");

obj.setContent("zz",obj2);

document.write(obj);
Philippe Marzin
Wednesday, August 1, 2007

This topic is archived.


Back to support forum

Forum search