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

RadDock: Hide ToolWindow

5 Answers 154 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 04 Mar 2011, 11:05 AM
The following code does not work for Toolwindow in a radDock. The intriguing part is that it works when am debugging the application not when I run it. Could any of you please help.

private void toolWindow1_MouseLeave(object sender, EventArgs e)
        {
            toolWindow1.Hide();
        }

Thank You
Bob

5 Answers, 1 is accepted

Sort by
0
Emanuel Varga
Top achievements
Rank 1
answered on 07 Mar 2011, 08:33 AM
Hello Guy,

Just change your code to:
private void toolWindow1_MouseLeave(object sender, EventArgs e)
{
    toolWindow1.AutoHide();
}

Hope this helps, if you have any other questions or comments, please let me know,

Best Regards,
Emanuel Varga
Telerik WinForms MVP
0
Bob
Top achievements
Rank 1
answered on 07 Mar 2011, 08:43 AM
Hi Emanuel

This is not what I am looking for.
I am trying to minimzie the toolwindow when the mouse leaves the toolwindow and if the user wants he can maximize it again.
I am using RadControls for WinForms Q1 2010.

Bob 
0
Emanuel Varga
Top achievements
Rank 1
answered on 07 Mar 2011, 08:47 AM
Hello again Bob,

In the latest version it is working just fine...

I don't know about the old versions because sadly i cannot test it on that one.
I would suggest updating to the latest version for this fix and a lot more other fixes.

Hope this helps, if you have any other questions or comments, please let me know,

Best Regards,
Emanuel Varga
Telerik WinForms MVP
0
Bob
Top achievements
Rank 1
answered on 07 Mar 2011, 09:05 AM
 am trying to minimzie the toolwindow when the mouse leaves the toolwindow and if the user wants he can maximize it again. Does thsi work with the current version I have?
0
Accepted
Nikolay
Telerik team
answered on 07 Mar 2011, 03:37 PM
Hi Bob,

I am not quite sure that I understand the meaning of 'minimizing' a ToolWindow. RadDock supports AutoHide windows. These windows show up and become active when you hover a tab item placed near the border of RadDock. If the user activates another ToolWindow, the AutoHide window slides out and becomes a tab item again. If you call the Hide method of a window, you will not just minimize it, but you will hide it completely from view.

In the version that you are currently using, we have an issue with the Hide method that prevents the window from becoming a hidden window. This issue is addressed in our latest official release Q3 2010 SP1.

Greetings,
Nikolay
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Dock
Asked by
Bob
Top achievements
Rank 1
Answers by
Emanuel Varga
Top achievements
Rank 1
Bob
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or