[Gambas-user] MDI Form, Workspace and minimized Windows
Demosthenes Koptsis
demosthenesk at gmail.com
Thu Aug 3 13:11:31 CEST 2023
1) Well i dont want to detach the form and minimized.
i was thinking the VB MDI which forms minimized and maximized inside
Workspace...
...but as i suppose Gambas3 Workspace does not provide the same usage
with VB MDI.
2) Also VB MDI had scrollbars for forms with larger dimensions, Gambas
does not.
Gambas Workspace loads forms in maximized state to fill whole workspace,
no matter the size of child-form.
On 8/3/23 03:32, 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
>>>>
>>>> --------------------------------------
>>>>
>>>>
> If I understand what you are trying to to do, you need to detach the
> form, then you can minimise it. You can see this in the IDE with a
> couple of tabs opened. Right click on one, detach it, then you can
> minimise the detached window.
>
> Does that help?
>
> b
>
>
> ----[http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230803/55d8480a/attachment.htm>
More information about the User
mailing list