This is a migrated thread and some comments may be shown as answers.

FormWindowState.Maximized

2 Answers 139 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Frank
Top achievements
Rank 1
Frank asked on 05 Jul 2019, 02:04 PM
I have a MDI form and trying to open the child screen.  On the MDI screen I have a RadMenu on the top.  When I load the app and pick a child fr the first time it loads correctly and is maximized, but when I open another child screen I close the current and then open the new screen and maximize the screen but it opens like the rad menu is not on the screen, so I lose the top section on the screen.  I have not has this issue before.  I am using framework 4.6.2 and I am using Telerik controls 2018 r2.  I have not had this issue before.

2 Answers, 1 is accepted

Sort by
0
Frank
Top achievements
Rank 1
answered on 05 Jul 2019, 02:11 PM

Ok I just found the solution.  In the past I have had to include the following cde

form.MinimizeBox = false;

form.MaximizeBox = false; 

form.ControlBox = false;

form.FormBorderStyle = FormBorderStyle.None;

 

I removed these lines from this instance and now it is working properly

0
Dimitar
Telerik team
answered on 08 Jul 2019, 09:59 AM
Hello Frank,

I am glad that you have found a solution. Do not hesitate to contact us if you have other questions.

Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Menu
Asked by
Frank
Top achievements
Rank 1
Answers by
Frank
Top achievements
Rank 1
Dimitar
Telerik team
Share this question
or