[Gambas-user] MDI Form, Workspace and minimized Windows

Demosthenes Koptsis demosthenesk at gmail.com
Thu Aug 3 01:05:44 CEST 2023


I dont want to .Hide or to .Show the child forms.

i want to work with this expression

Workspace1.Windows[0].Minimized = True

but it does nothing as it seems...


On 8/2/23 23:56, Linus via User wrote:
> Hello,
>
> A Workspace is not like a Desktop, you should use the properties .Show 
> or .Hide to for that.
>
>
> Olivier Cruilles
>
>
>
>
>
>> Le 2 août 2023 à 16:19, Demosthenes Koptsis <demosthenesk at gmail.com> 
>> a écrit :
>>
>> i have FMain and a Workspace control on it.
>>
>> i add 2 forms in Workspace and i want the Form1 to be minimized and 
>> Form2 Maximized.
>>
>> i have this code but Form1 is not Minimized in Workspace... why ?
>>
>> ------------ FMain.class --------------------------
>>
>> ' Gambas class file
>>
>> Public Sub Form_Open()
>>
>>   Workspace1.Add(Form1, True)
>>   Workspace1.Add(Form2, True)
>>   Workspace1.Windows[0].Minimized = True
>>
>> End
>>
>> --------------------------------------
>>
>>
>>
>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
>
> ----[http://gambaswiki.org/wiki/doc/netiquette  ]----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230803/b7abf781/attachment.htm>


More information about the User mailing list