I've got some code in my parent form's MdiChildActivate sub, but I've noticed that it doesn't report me.mdichildren.count accurately (at least within that sub). When I open a new child form, the count goes up like it should, but when I close a form, the sub runs but the count doesn't go down until afterwards. How do I get the actual correct count?
↧