D
David Hubball
Hi
Please can anyone help me - I'm trying to increment the name of my
object every time one gets created but not sure how to do that. My
code so far is this to create lots of MDI child forms :-
createChildForm()
{
Form ChildFormStickyNote1 = new FormStickyNote();
ChildFormStickyNote1.MdiParent = this;
ChildFormStickyNote1.Show();
}
Ideally, I would like it so that the object name ChildFormStickyNote1
increments to Form ChildFormStickyNote2, ChildFormStickyNote2 for
every object created etc.... Ultimately, I'd like to save the
properties of each MDI form when the user exits - which is why (I
think) I need to have a unique object name for each MDI form created.
Very much appreciated to anyone who can help.
Thanks
David
Please can anyone help me - I'm trying to increment the name of my
object every time one gets created but not sure how to do that. My
code so far is this to create lots of MDI child forms :-
createChildForm()
{
Form ChildFormStickyNote1 = new FormStickyNote();
ChildFormStickyNote1.MdiParent = this;
ChildFormStickyNote1.Show();
}
Ideally, I would like it so that the object name ChildFormStickyNote1
increments to Form ChildFormStickyNote2, ChildFormStickyNote2 for
every object created etc.... Ultimately, I'd like to save the
properties of each MDI form when the user exits - which is why (I
think) I need to have a unique object name for each MDI form created.
Very much appreciated to anyone who can help.
Thanks
David