Is there a way to show the form icon but not the min, max and close buttons?
I've set the Control Box property to false but this also removes the icon for the form.
Printable View
Is there a way to show the form icon but not the min, max and close buttons?
I've set the Control Box property to false but this also removes the icon for the form.
You can set the MaxButton and MinButton to false, but I think that if you search around, someone posted how to come up with all kinds of unusual combinations of buttons on a form using different properties. I remember reading about it.
You can create your own titlebar. Download my sample from here - that was quick demo so it needs some work but you'll get an idea.
Here you go :)
That seems to do the opposite of what he wants... :)Quote:
Originally Posted by penagate
Whoops :blush:
Well, you could turn off the min and max buttons and use code to remove the Close button (I think Hack has some code for that somewhere) and that would leave your icon.
http://www.vbforums.com/showpost.php...50&postcount=4
Not sure how that compares to creating your own titlebar (RB's sample). It's an alternative :)