Windows min and max buttons...

lidds

Junior Contributor
Joined
Nov 9, 2004
Messages
210
I have a MDIChild form that has no frame, controlBox is false, min and max properties are false and it is set to maximise on opening. The problem is that when the form is called it automatically maximises (which is correct) but it displays the min, max and restore down buttons and a form icon within the toolbar at the top of my MDIParent form.

What I would like is for the buttons and the icon to be removed so that this form can not be closed etc.

Cheers

Simon
 
Hang on is it the mdi parent form where you have the problem. Have you set controlBox to false on this.
 
donnacha said:
Hang on is it the mdi parent form where you have the problem. Have you set controlBox to false on this.

No it is the MDIChild that displays a min, max, restore buttons in the toolbar of the MDIParent, but I don't want the user to be able to minimise etc. the MDIChild form, I always want it to be maximised to the MDIParent

Simon
 
Back
Top