is there a way to determine which MDIChild form is currently active, when all of them are open at the same time.

Recommended Answers

All 2 Replies

i suppose you could see if it had focus

If your form name is "frm_MDI" you could try: frm_MDI.ActiveForm to get the current form which is active.

Hope it helped, bye.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.