[Gambas-user] MDI Form, Workspace and minimized Windows
Demosthenes Koptsis
demosthenesk at gmail.com
Thu Aug 3 13:04:16 CEST 2023
The IDE autocomplete the code f.or
Workspace1.Windows[0].Minimized
so i think Workspace1.Windows[0]. has Minimized property...
Try it for yourself...
On 8/3/23 03:34, BB wrote:
>
>
> 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.
>
> ----[http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230803/0b3e4381/attachment.htm>
More information about the User
mailing list