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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MinButton, but no more buttons

Status
Not open for further replies.

klasse

Programmer
Jan 12, 2004
32
SE
Hi,

How can I display only the button to minimize a form, without displaying the X or the maximize button?
I would like to add a bit of code to my Form_Load event.

Thanx,

Klasse
 
Sorry, and my border style on such form is Fixed dialog.
 
In short,
You can't, (well not with just plain vb), what you could do is set the query unload to cancel out, and in the form resize event just put form.windowstate = 3 ( i think thats maximised).


Its kinda confuisng, post back if you need an example.


Brad,
Hey! email me any time! Bradsvb@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top