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!

VB FORM icons

Status
Not open for further replies.

ARCITS

Programmer
Apr 4, 2002
99
GB
My VB form just has a close icon in the top right hand corner.
How do I also get the minimize and restore options as per standard windows?
How do I enable/disable these icons and how do I get them to perform the relevant actions?


thanks
 
Thanks - easy when you know how!
But what about disabling the close (X) button?
 
Unfortunately there is no such property available. However you can do this in following way :

1. set .ControlBox property to FALSE
2. Draw 2 command buttons as MIN & MAX buttons
3. write code in the CLICK events for these command buttons
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top