We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How can I center a MessageBox on a particular Form?

Hi! When I used MsgBox or MessageBox, it appears in the middle of the screen. However I want it to appear on the active child form of my MDI Parent instead. Please could you let me know how I can do this with VB.NET? Many Thanks Sangeeta

1 Reply

AD Administrator Syncfusion Team January 28, 2005 06:07 AM UTC

Just to clarify: I want the message box to appear centered over the active child form, and not centered over the desktop. Thanks San >Hi! > >When I used MsgBox or MessageBox, it appears in the middle of the screen. > >However I want it to appear on the active child form of my MDI Parent instead. > >Please could you let me know how I can do this with VB.NET? > >Many Thanks > >Sangeeta

Loader.
Live Chat Icon For mobile
Up arrow icon