This is a migrated thread and some comments may be shown as answers.

Should floating docking windows have a Pin button

6 Answers 135 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 12 May 2009, 08:49 AM
When you float a docking window, it still has a pin button. 
If you try to unpin it nothing happens (If the panel was docked with other windows I would expect it to autohide, if the window is floated on its own then there does not seem to be any sensible action to take).
If you press the pin button again (to unpin it), the docked floating window jumps back into the main window.

I would suggest the pin button should be disabled or removed when a window is floated.

6 Answers, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 15 May 2009, 07:29 AM
Hi Simon,

The issue will be fixed in our next release, but currently our focus is on the new RadDock component, where the reported behavior will be supported.

Thank you for the reporting the issue. Your Telerik points have been updated.

All the best,
Julian Benkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Stefan
Top achievements
Rank 1
answered on 22 Apr 2010, 04:20 PM
Hi,

has this issues been fixed? To me it seems like not.

Thanks and best regards,
Stefan
0
Nikolay
Telerik team
answered on 28 Apr 2010, 02:30 PM
Hello Stefan,

We have already addressed the issues described at the beginning of this thread. However, please note that these issues have been addressed in our relatively new RadDock component, but not in the DockingManager component.

Feel free to contact us should you have additional questions.

Kind 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.
0
Adrian
Top achievements
Rank 2
answered on 29 Apr 2010, 07:50 AM
Hi Nikolay.

I am using the RadDock Control (not the DockingManager Component) and to be honest i faced the same problems described above. All opened Floating Dock Windows controled by a RadDock (RadDock is placed on a MainForm and 4 other Forms are added as MDI Childs to this form, RadDock has AutoDetectMDIChils=true) have the problems. If i undock one form (meaning set it to floating) the opened Floating Window has only a 'X' Button for closing the window, which normally do not work - meaning pressing on the "X" will do nothing. I reprogrammed this to automatically ReDock (tabbed document) to the RadDock on MainForm by pressing on the "X", but for me this should not be the correct solution.

The only way to hide this Button is to .Dispose() the object, like ...

void MyRadDock_TransactionCommitted(object sender, RadDockTransactionEventArgs e) 
            // Allow Window to redock to desktopdock 
            foreach (DockWindow theDockedWindow in e.Transaction.AssociatedWindows) 
            { 
                // Windows is currenty in docked state 
                if (!theDockedWindow.AllowedDockState.Equals(AllowedDockState.TabbedDocument)) 
                { 
                     theDockedWindow.FloatingParent.FormElement.TitleBar.CloseButton.Dispose(); 
                } 
            } 
// ... 


What i want is that i can enable the Minimize Button, Hide the Close "X" Button and have my own ContextMenu on if the user clicks on the titlebar of the Floating Window. The most important thing for me is currently to change the context menu, but this is also discussed in this thread: http://www.telerik.com/community/forums/winforms/dock/right-click-menu-on-floating-dock.aspx

Best regards.

Adrian




0
Nikolay
Telerik team
answered on 10 May 2010, 04:42 PM
Hello Adrian,

Please find the answer to your question in the following thread:
http://www.telerik.com/community/forums/winforms/dock/right-click-menu-on-floating-dock.aspx

Best wishes,
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.
0
Adrian
Top achievements
Rank 2
answered on 18 May 2010, 09:39 AM
Thank you. It works!
Tags
Dock
Asked by
Simon
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Stefan
Top achievements
Rank 1
Nikolay
Telerik team
Adrian
Top achievements
Rank 2
Share this question
or