I have a problem with the DocumentWindow in your RadDock class. I downloaded your RadControls for WinForms Q3 2009 release. I did the following steps:
- New project, WindowsForm Application (with Visual Basic 2008 Express Edition).
- Insert a RadDock.
- Insert a RadMenu, one item only (“Add”).
- Here is the code in the form:
Public Class Form1
Private Sub RadMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadMenuItem1.Click
RadDock1.Visible = False
Dim docW As DocumentWindow = New DocumentWindow("Test")
Dim pnl As New Panel
pnl.BorderStyle = BorderStyle.FixedSingle
pnl.Dock = DockStyle.Fill
RadDock1.Visible = True
I programmatically insert a new DocumentWindow with a Panel in it. If you omit instruction “RadDock1.Visible = False”, all is ok, otherwise the panel will overlap the tab. If you click the small down arrow on the right (it’s almost invisible) and select the window (Test), all returns ok.
In my application, obviously much more complicated, I need to make invisible the RadDock during certain operations. What can I do to solve this problem?