How to reference to current active children Host and add new panel there


How to reference to current active children Host and add new panel...
Author
Message
Angel Chorbadzhiev
Angel Chorbadzhiev
Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)
Group: Forum Members
Posts: 139, Visits: 184

Hello JSW W.,

You need to have panel that has the focus in order to have ActivePanel property different than null.

Regards,

Angel.


JSW W.
JSW W.
Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)
Group: Forum Members
Posts: 127, Visits: 1
Dim tmp_DockHost As NDockingPanelHost = DirectCast(current_active_DockManager.RootContainer.RootZone.Children(1), NDockingPanelHost)
tmp_DockHost.AddChild(t_panel)


I want to add new panel to the same host of currently active panel.
However, i could not get to currently activepanel, and PanelHost.

I tried DockManger.activePanel but it return null.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search