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

Demosthenes Koptsis demosthenesk at gmail.com
Wed Aug 2 22:19:16 CEST 2023


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

--------------------------------------




More information about the User mailing list