[Gambas-user] How to disable the minimize button on window

Kevin Fishburne kevinfishburne at ...1887...
Mon Apr 25 19:41:45 CEST 2011


On 04/25/2011 08:38 AM, Ganesh Kumar wrote:
> Thanks for your replay.
>
> I cant understand fully,  please give some clear steps about windows type in
> gambas2.
>
> you can change the windows type (in gambas2) and on gambas3 set
>> Utility property to true
>>
>> but you can't remove only the minimise button the restore/maximise
>> will be masked too
>

Open GAMBAS, create a GTK or Qt project, click on the empty form, and 
change the Utility property in the list of properties on the right from 
True to False. Then when you run the program your form will only show 
the close button and not the minimize and maximize buttons. You can also 
change it to False in code in the Form_Open procedure by adding 
"Me.Utility = False" to the procedure.

-- 
Kevin Fishburne
Eight Virtues
www: http://sales.eightvirtues.com
e-mail: sales at ...1887...
phone: (770) 853-6271





More information about the User mailing list