[Gambas-user] Create and delete labels dinamically
tobias
tobiasboe1 at ...20...
Mon Jun 27 22:48:16 CEST 2011
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
More information about the User
mailing list