Profile Picture

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

Posted By JSW W. 14 Years Ago

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

Author
Message
Angel Chorbadzhiev
Posted 14 Years Ago
View Quick Profile
Supreme Being

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
Last Active: Last Month
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.
Posted 14 Years Ago
View Quick Profile
Supreme Being

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
Last Active: 12 Years Ago
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.



Similar Topics


Reading This Topic