Hi,
I have a series of DockPanels arranged so that some are aligned on the sides, and some are in a tabbed layout along the center top like open documents in Visual Studio. Is there any way to determine the selected tab (or last selected tab) and not one of the side windows? This is a major part of my application, and I really want to figure it out.
Thanks,
UIDev
I have a series of DockPanels arranged so that some are aligned on the sides, and some are in a tabbed layout along the center top like open documents in Visual Studio. Is there any way to determine the selected tab (or last selected tab) and not one of the side windows? This is a major part of my application, and I really want to figure it out.
Thanks,
UIDev
6 Answers, 1 is accepted
0
Hello David,
Try to use theActiveDocument property of DockingManager. Another approach is to get the Documents collection in DockingManager and check which DocumentPane is visible.
I hope this helps.
All the best,
Julian Benkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Try to use theActiveDocument property of DockingManager. Another approach is to get the Documents collection in DockingManager and check which DocumentPane is visible.
I hope this helps.
All the best,
Julian Benkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
UIdev
Top achievements
Rank 1
answered on 05 Sep 2007, 10:37 PM
Thanks! I got it to work perfectly.
0
Lorenzo
Top achievements
Rank 1
answered on 12 Sep 2007, 01:59 PM
And what I have to do to SET the active document and focus on it? And for dockPanel?
Thanks for support
Lorenzo
Thanks for support
Lorenzo
0
Hi Lorenzo,
To activate your document you should set the ActiveDocument property of the DockingManager. To activate the DockPanel you must call it's Activate() function.
I hope this was helpful.
Greetings,
Julian Benkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
To activate your document you should set the ActiveDocument property of the DockingManager. To activate the DockPanel you must call it's Activate() function.
I hope this was helpful.
Greetings,
Julian Benkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Richard Slade
Top achievements
Rank 2
answered on 11 Mar 2010, 03:03 PM
Hi,
Im looking for a DocumentTab Selected event, or an event to find when the document tab changes. Is there a way?
Thanks
Im looking for a DocumentTab Selected event, or an event to find when the document tab changes. Is there a way?
Thanks
0
Hi Richard Slade,
Please refer to the following forum thread: http://www.telerik.com/community/forums/winforms/dock/how-to-trap-selected-document-change.aspx
Regards,
Nikolay
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Please refer to the following forum thread: http://www.telerik.com/community/forums/winforms/dock/how-to-trap-selected-document-change.aspx
Regards,
Nikolay
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.