G
Guest
I have a main form that can create and display multiple other (sub)forms at
the click of a button. Each time a new subform is created, I want the main
form to increment a counter to indicate how many forms of that type are
active in memory. But in order for this to work, I need to be able to
decrement the counter when a subform is closed using the subform's x control.
I'm sure this is frequently done, so I am interested to learn how this is
typically/best accomplished.
Thanks.
the click of a button. Each time a new subform is created, I want the main
form to increment a counter to indicate how many forms of that type are
active in memory. But in order for this to work, I need to be able to
decrement the counter when a subform is closed using the subform's x control.
I'm sure this is frequently done, so I am interested to learn how this is
typically/best accomplished.
Thanks.