Re: [Gambas-user] Start a form minized

2012-02-08 Thread Jussi Lahtinen
One option is to start your program from module [Public Sub Main()] and show the form only when needed. Jussi On Tue, Feb 7, 2012 at 17:38, Rolf Schmidt wrote: > Hi everybody out there > > is it possible to start a form minimized or invisible. > I use a TrayIcon to terminate the program and p

Re: [Gambas-user] Start a form minized

2012-02-08 Thread M. Cs.
Just a trick: Add a Timer to FMain and set the Timer1 Enabled to true. Add the following procedure Public Sub Timer1_Timer() FMain.Minimized = True Timer1.Enabled = False End This will hide FMain 1 seconds after the start. Probably not the solution you are looking for... Csaba 2012/2/8, Rolf Sc

Re: [Gambas-user] Start a form minized

2012-02-08 Thread Rolf Schmidt
Hi M. Cs.: > Try to add at the > Public Sub Form_Open() > Me.Minimized=True > . > End Because this didn't work, I asked. Any other ideas? Thanks Rolf signature.asc Description: This is a digitally signed message part.

Re: [Gambas-user] Start a form minized

2012-02-07 Thread M. Cs.
Try to add at the Public Sub Form_Open() Me.Minimized=True . End 2012/2/7, Rolf Schmidt : > Hi everybody out there > > is it possible to start a form minimized or invisible. > I use a TrayIcon to terminate the program and program should stay in the > background and wait for incoming calls. Th

[Gambas-user] Start a form minized

2012-02-07 Thread Rolf Schmidt
Hi everybody out there is it possible to start a form minimized or invisible. I use a TrayIcon to terminate the program and program should stay in the background and wait for incoming calls. Then a second from will be shown with the connection data but the main form - which only has a close butt