M
Max Moor
Hi All,
I have a single base form that I want to open multiple copies of at the
same time, each one filtering the base data a different way.
I note that the problem with just using the 'New' call to open a second
instance of a form is that when the first form is closed, the form it opened
also goes out of scope and disappears.
Allen Browne has a good write up of using a public collection to keep
client forms in scope, even after the creator form is closed.
In my application, I have what I call a "LeftNav" form which opens at
startup time and is always open. The user can't close it (at least without a
decompiler). I began thinking I would place my collection of forms there,
and have the LeftNav manage it all.
Then it occured to me (finally)... If the LeftNav is the only form
allowed to open or close these other "multi-forms," and the LeftNav itself
never closes, do I even need a collection to manage these?
I don't think I do, but I seem to miss the little things when I go
slogging through new territory sometimes. Then I have an epiphany and get
all cocky. I thought I should ask... just for a sanity check.
Thanks & Regards,
Max
I have a single base form that I want to open multiple copies of at the
same time, each one filtering the base data a different way.
I note that the problem with just using the 'New' call to open a second
instance of a form is that when the first form is closed, the form it opened
also goes out of scope and disappears.
Allen Browne has a good write up of using a public collection to keep
client forms in scope, even after the creator form is closed.
In my application, I have what I call a "LeftNav" form which opens at
startup time and is always open. The user can't close it (at least without a
decompiler). I began thinking I would place my collection of forms there,
and have the LeftNav manage it all.
Then it occured to me (finally)... If the LeftNav is the only form
allowed to open or close these other "multi-forms," and the LeftNav itself
never closes, do I even need a collection to manage these?
I don't think I do, but I seem to miss the little things when I go
slogging through new territory sometimes. Then I have an epiphany and get
all cocky. I thought I should ask... just for a sanity check.
Thanks & Regards,
Max