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

BB adamnt42 at gmail.com
Thu Aug 3 02:34:28 CEST 2023


On 3/8/23 8:35 am, Demosthenes Koptsis wrote:
>
> 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
>>>
>>> --------------------------------------
>>>
>>>
p.s. a Workspace.Windows[] item does not have a Minimized property.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230803/1f2478e4/attachment.htm>


More information about the User mailing list