Hi there,
I am using Rad dock in my application to open existing winforms using below code. On click of RadMenuButtonItem an existing WinForm opens in a NewDocument(HostWindow).
I am using Rad dock in my application to open existing winforms using below code. On click of RadMenuButtonItem an existing WinForm opens in a NewDocument(HostWindow).
objForm=
New Form
Dim hostWindow As HostWindow = RadDock1.DockControl(objForm, DockPosition.Right)
objForm.Dock = DockStyle.None
hostWindow.AutoScroll =
True
RadDock1.AddDocument((hostWindow), DockPosition.Fill)
hostWindow.ScrollControlIntoView(hostWindow)
objForm.Show()
This works fine.
Now the form opened in the host window has a button, on click of that button again an existing form should open in a new RadDocument Host Window. In the button click event i am creating an object of that form and just calling Obj.Show() which opens the form normally. Can anyone please assist how can i open the second form in Host Window aswell.
Thanks