[Gambas-user] Hiding FMain not possible?

Stefano Palmeri rospolosco at ...152...
Wed Dec 10 19:18:27 CET 2008


Il mercoledì 10 dicembre 2008 15:50:15 Rolf-Werner Eilert ha scritto:
> Benoit Minisini schrieb:
> > On mercredi 10 décembre 2008, Rolf-Werner Eilert wrote:
> >> Hi folks,
> >>
> >> meanwhile I've understood how to use the TrayIcon, but if my application
> >> should show only the tray icon, no application window, how can I hide
> >> the whole thing (except the tray icon, of course)?
> >>
> >> Thanks for your advice!
> >>
> >> Rolf
> >
> > FMain.Hide ?
>
> This is what I tried, and I tried setting FMain.Visible = False and so
> on - no help, it just shows up on screen.
>
> It is shown when started in the IDE and when started as an executable as
> well.
>
> Seems this has to do with my KDE version, like the other thing we
> discussed yesterday...
>
> Rolf
>

I've the same problem under KDE 3.5.9. To solve I use the same
solution explained by Toni. In a startup module I just put:

---------------------------------
PUBLIC SUB Main()
  
  FMain.Visible = FALSE
    
END
---------------------------------


Bye,

Stefano





>
> ---------------------------------------------------------------------------
>--- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> Nevada. The future of the web can't happen without you.  Join us at MIX09
> to help pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com
>/ _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user






More information about the User mailing list