Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Minimize Button 1

Status
Not open for further replies.

AppSpecialist

Programmer
Jul 6, 2001
64
CA
I want to only have a minimize button available on a form that is not resizeable.

How can I acheive that?
 
Set the BorderStyle property of the form to Fixed Dialog and then set the MinButton propery to true.


If you wish to disable the X then see this read222-523899 or many others that return from doing a keyword search of this forum.
 
I already tried that before I posted this... I have it set to fixed dialog and have both min and max properties set to true... but they do not show on the form?

The only control that appears is the close "X" and really I do not want that to show at all, however I can implement a small piece of code to disable it.

Any ideas why the min control does not show?
 
Try setting the BorderStyle to Fixed Single.

Hope this helps

HarleyQuinn
---------------------------------
Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
Thanks guys,

I thought I tried that already, but just set to Fixed single and it worked... oh well, guess I just needed to borrow a second set of eyes.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top