04-15-2003, 01:04 PM
I have two questions.
1. I want a MDIForm to be maximized from start and I want the
Maximize, restore button to be disabled so that you can´t change the size of the MDIForm at all.
2. I want a child form to be maximized in that MDIForm and the buttons to be centralized.
Sorry for my bad English.
04-16-2003, 07:33 AM
So what exactly is the problem? You've told us what you want, but not what the problem is. You need to at least attempt to do what you've outlined. We'll help with specific problems, but the purpose of the forum isn't to write your code for you. If you're just starting out with VB you might want to pick up a book on it. There are also tutorials and other code samples in the Knowledge Base section of the forum.
04-16-2003, 07:59 AM
The problem is that I can not do the things I explained.
I have searched and read everywhere but I didnt find the solution.
I am not new to VB, this is just a problem I cant handle myself.
I am however new to this forum but if other programmers who know´s how to help me cant even give me the code I dont know what the forum is for.
Finally, of cource I´ve tryed to code it myself.
04-16-2003, 10:35 PM
This goes against the normal windows usage for the mdi style form which
is why these options aren't available in the properties. I have put some
limitations in my mdi forms in the past where I won't allow them to get
smaller than a certain size, but I have never tried to disable minimize,
maximize or restore. I can't see any good reason to do it. Of course
you can set your child forms to open maximized in the MDI. Just set the
WindowState = 2