[Gambas-user] MDI Form, Workspace and minimized Windows
Linus
olivier.cruilles at yahoo.fr
Wed Aug 2 22:56:21 CEST 2023
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 ]----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230802/846c5a1a/attachment.htm>
More information about the User
mailing list