I have an MDI Parent (inherits from RadRibbonForm) and an MDI Child (RadForm).
The application programmatically sets the state of the window using the following code :
|Const subKey As String = "Software/CompanyName/ApplicaitonName/"
|Dim isMaximised As Boolean = Boolean.Parse(Common.RegistryUtilities.GetRegistryEntry(subKey, "ListFormIsMaximised"))
|If isMaximised Then Me.WindowState = FormWindowState.Maximized
When this code is called in the Form_Load event, or in the Form constructor after InitializeComponent(), and the child form does not show correctly, the top 20 odd pixels are hidden behind the Ribbon Bar.
If the same code is called from the Form_VisibleChanged event, then the behaviour is normal.
I can use the VisibleChanged event as a work around, but think that this is a bug and would like to report it.
I would also be interested in knowing if you feel this code should be called from somewhere other than the constructor or form_load.
I am using v2009.2.9.729 of the controls.