B
-BA-
Hi!
I wonder if it is possible to dynamically name a object (e.g. checkbox,
combox etc.) during runtime.
I know I can create a object during runtime like this:
Me.MyLabel = New Label
Me.Controls.Add(Me.MyLabel)
MyLabel.Text = "This is a label created during runtime."
but I would need to create the objects from a xml file and before reading
the file I have no information how many or what kind of objects (standard
windows framework) are needed.
If it is not possible to dynamically name a object during creation, is there
some other way doing this?
Thanks,
-BA-
I wonder if it is possible to dynamically name a object (e.g. checkbox,
combox etc.) during runtime.
I know I can create a object during runtime like this:
Me.MyLabel = New Label
Me.Controls.Add(Me.MyLabel)
MyLabel.Text = "This is a label created during runtime."
but I would need to create the objects from a xml file and before reading
the file I have no information how many or what kind of objects (standard
windows framework) are needed.
If it is not possible to dynamically name a object during creation, is there
some other way doing this?
Thanks,
-BA-