3.0.0

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
August 1,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.