I have a form without the border, and i want to put a button the the top panel on the form so that once its clicked, the form will be minimize.. How can that be done?
Printable View
I have a form without the border, and i want to put a button the the top panel on the form so that once its clicked, the form will be minimize.. How can that be done?
Me.WindowState = vbMinimized
its minized but i cant see it at the taskbar.
Changing the BorderStyle property may also change the setting of the ShowInTaskbar property, so you probably need to set the ShowInTaskbar property back to True.Quote:
Originally Posted by wence
Typically what is shown in the taskbar is the windows caption. A borderless form does not have a caption.
Set the ShowInTaskBar property to TRUE (after setting BorderStyle to None… it gets reset automatically if you change it).