hi, well, to have a dynamic array you need functions like .Add, Remove and stuff. this means that you have to use a class that implements these functions and deals with objects. you may want to use the Object[]:
DIM aLabels AS NEW Object[] DIM lblLabel AS NEW Label aLabels.Add(lblLabel) but be aware of the fact that when you create a control, you have (usually) to specify a parent so this control is shown on this parent once you created it. regards, tobi ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user