How to hide sub form's ico of MDI form?

G

Guest

Hello everyone
I am editing a MDI form now. The container do not have menu. So there has no menu bar at the top of the container. When I load a sub form of it and set the WindowState property is "Maximized", the container will display the sub form's ico and Maximized, Minimized & Close buttons at the top of it, where is the menu bar
My question is how can I hide the ico and buttons. In the end hide the menu bar of the container
My e-mail address is: (e-mail address removed) , Thanks

Steve
2004.02.03
 
A

AirPete

I think you can do this by setting its ControlBox property to False when
it's maximized, then setting it to True when it's restored.

- Pete


Steven said:
Hello everyone!
I am editing a MDI form now. The container do not have menu. So there
has no menu bar at the top of the container. When I load a sub form of it
and set the WindowState property is "Maximized", the container will display
the sub form's ico and Maximized, Minimized & Close buttons at the top of
it, where is the menu bar.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top