RadDock: Hide ToolWindow

6 posts, 1 answers
  1. Bob
    Bob avatar
    3 posts
    Member since:
    Mar 2011

    Posted 04 Mar 2011 Link to this post

    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
  2. Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 07 Mar 2011 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Bob
    Bob avatar
    3 posts
    Member since:
    Mar 2011

    Posted 07 Mar 2011 Link to this post

    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 
  5. Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 07 Mar 2011 Link to this post

    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
  6. Bob
    Bob avatar
    3 posts
    Member since:
    Mar 2011

    Posted 07 Mar 2011 Link to this post

     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?
  7. Answer
    Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 07 Mar 2011 Link to this post

    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!
Back to Top
UI for WinForms is Visual Studio 2017 Ready