Pop Out Side Menu (Visual Studio Style)
-
I have a database search function on a Windows form app that needs to be readily accessible, but I don't want it displayed on the form at all times as it is confusing since you can search the same fields that you can edit on screen. Long story short is I would like the search menu to behave like the toolbox / server explorer / data source left docked tool strip in VS 2008. Right now I have created a tool strip and docked it left and have the buttons the way I want them, but I do not have an eloquent solution for the pop out and pop in functionality. I put a panel into place that has the search functionality and I simply made it visible = false until the search button is pressed.
If pnlSrch.Visible = False Then pnlSrch.Visible = True gbPhoto.Visible = False Else pnlSrch.Visible = False gbPhoto.Visible = True End If
Is there a more eloquent method of creating a slide in slide out side menu without using WPF?
-
I have a database search function on a Windows form app that needs to be readily accessible, but I don't want it displayed on the form at all times as it is confusing since you can search the same fields that you can edit on screen. Long story short is I would like the search menu to behave like the toolbox / server explorer / data source left docked tool strip in VS 2008. Right now I have created a tool strip and docked it left and have the buttons the way I want them, but I do not have an eloquent solution for the pop out and pop in functionality. I put a panel into place that has the search functionality and I simply made it visible = false until the search button is pressed.
If pnlSrch.Visible = False Then pnlSrch.Visible = True gbPhoto.Visible = False Else pnlSrch.Visible = False gbPhoto.Visible = True End If
Is there a more eloquent method of creating a slide in slide out side menu without using WPF?
Check out the tools some vendors like www.devcomponents.com sell.
Tosch
-
I have a database search function on a Windows form app that needs to be readily accessible, but I don't want it displayed on the form at all times as it is confusing since you can search the same fields that you can edit on screen. Long story short is I would like the search menu to behave like the toolbox / server explorer / data source left docked tool strip in VS 2008. Right now I have created a tool strip and docked it left and have the buttons the way I want them, but I do not have an eloquent solution for the pop out and pop in functionality. I put a panel into place that has the search functionality and I simply made it visible = false until the search button is pressed.
If pnlSrch.Visible = False Then pnlSrch.Visible = True gbPhoto.Visible = False Else pnlSrch.Visible = False gbPhoto.Visible = True End If
Is there a more eloquent method of creating a slide in slide out side menu without using WPF?
I have seen many articles on this website that could help you. Consider doing a search. The manual/experimental way would be to create a timer that will move/collapse the panel to the side of the screen by altering the width, height, x, and y.
Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my Blog
-
I have a database search function on a Windows form app that needs to be readily accessible, but I don't want it displayed on the form at all times as it is confusing since you can search the same fields that you can edit on screen. Long story short is I would like the search menu to behave like the toolbox / server explorer / data source left docked tool strip in VS 2008. Right now I have created a tool strip and docked it left and have the buttons the way I want them, but I do not have an eloquent solution for the pop out and pop in functionality. I put a panel into place that has the search functionality and I simply made it visible = false until the search button is pressed.
If pnlSrch.Visible = False Then pnlSrch.Visible = True gbPhoto.Visible = False Else pnlSrch.Visible = False gbPhoto.Visible = True End If
Is there a more eloquent method of creating a slide in slide out side menu without using WPF?