You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to activate a certain MDI child form from code. However, the methods childForm.Activate and childForm.Select do nothing. And there is no MDIParentForm.ActivateMDIChild(childForm) method, as in WinForms.
It's a bug, fixed in dev, caused by the fact that the mdi child form's Visible property returns false when it's not active and the call to Activate() doesn't activate invisible forms, which is correct in the case of normal forms.
Activity
itg-assistant commentedon Jun 12, 2026
Luca answered 2016-08-31 16:45:01 UTC
Hi Alex,
It's a bug, fixed in dev, caused by the fact that the mdi child form's Visible property returns false when it's not active and the call to Activate() doesn't activate invisible forms, which is correct in the case of normal forms.
As a temporary workaround please use this:
Best,
Luca
itg-assistant commentedon Jun 12, 2026
Alex Prinias answered 2016-08-31 17:06:01 UTC
Hi Luca, thanks for your answer.
Unfortunately, the workaround doesn't seem to work, even after the Visible = true, the call to Activate doesn't bring the Form to the front...
Best,
Alex