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
Hello,
Having some trouble with the tabcontrol.
I want to remember tab visibility and order. When the user closes the form I save the visible tabitems in a List<string> .
When the form gets loaded I would like to restore the tabs.
I can control the visibility of the tabs but I can’t find a way to restore the order.
Anybody got a suggestion?
Kind regards,
Tim van Rooijen