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

RadForms Not Being Inserted as Maximized

5 Answers 100 Views
Form
This is a migrated thread and some comments may be shown as answers.
Dan Harvey
Top achievements
Rank 2
Dan Harvey asked on 31 Aug 2009, 08:23 PM
Hello,

I have a RadDock with MDI enabled and when opening child forms they do not appear maximized.  I have set the property "WindowState" to "Maximized" on the RadForm and set the "MaximizeBox" and "MinimizeBox" properties to false.  However when I open up these forms in the RadDock they are not maximized and they still have the Maximize and Minimize buttons in the top right hand corner.  When I double click on the MenuBar they go away and appear maximized at that point.  Please advise.

Thanks,  

5 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 01 Sep 2009, 01:12 PM
Hi Dan,

Thanks for writing and for reporting this issue. I have tried to reproduce the described behavior but to no avail. Therefore, I would like to ask you to prepare a sample Windows Forms application that manages to reproduce the issue so that we can take a look and see how we can help. Please note that you will have to open a new support ticket in order to be able to upload your project. Thanks for your time. I look forward to receiving the requested details.

Best wishes,
Deyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Dan Harvey
Top achievements
Rank 2
answered on 08 Sep 2009, 05:09 PM
Deyan,

We were using code that differed from code we found on your site.  We implemented this code and it worked fine.

Thanks,
0
ayumi hinako
Top achievements
Rank 1
answered on 11 Nov 2009, 05:49 AM
I have the same problem. But sometime it's OK, and most of the time, it can't Maximized, If I use the System.Windows.Form, it doesn't have the problem. what's the problem? Thanks for your reply.

0
Dan Harvey
Top achievements
Rank 2
answered on 11 Nov 2009, 01:21 PM
Ayumi,

Try this code

Dim

 

document As New DocumentWindow("(name not specified)")

 

document.AutoScroll =

True

 

document.Controls.Add(m_masterClientForm)

document.Controls(0).Location =

New Drawing.Point(0, 0)

 

 

Me.RadDock1.AddDocument(document)

This was so long ago, I can't remember where I was having problems.  I think this is it though

 

0
ayumi hinako
Top achievements
Rank 1
answered on 11 Nov 2009, 01:33 PM
Hi, Dan
     Now it's OK, thanks very much.
Tags
Form
Asked by
Dan Harvey
Top achievements
Rank 2
Answers by
Deyan
Telerik team
Dan Harvey
Top achievements
Rank 2
ayumi hinako
Top achievements
Rank 1
Share this question
or