:: Forum >>

Create AW obj's dinamically ?

Hi Alex
Is it possible to create (a undetermined number of:) new obj's ?
I can't figure it out , just this ?????
http://www.activewidgets.com/messages/2021-1.htm
Could you please post a small sample ?
Thanks
Carlos
Wednesday, November 10, 2004
You can create as many objects as you want:

var objects = [];

for (i=0;i<10;i++){
objects[i] = new Active.Controls.Grid;
document.write(objects[i]);
}
Alex (ActiveWidgets)
Wednesday, November 10, 2004
Thanks a loooot !
I spent last two days doing it much more complicated.
Carlos
Wednesday, November 10, 2004

This topic is archived.


Back to support forum

Forum search