On Friday 24 of June 2011 14:57:15 Felipe Monteiro de Carvalho wrote: > On Fri, Jun 24, 2011 at 2:46 PM, Mattias Gaertner > > <nc-gaert...@netcologne.de> wrote: > > For full screen see here: > > http://wiki.lazarus.freepascal.org/Application_full_screen_mode > > I think we should implement that in the LCL. What do you think about > these proposals: > > 1> TForm.SetFullscreen(AValue: Boolean); > 2> fsFullScreen --> but then you can't combine with fsSystemStayOnTop > > > Some window managers do that. > > Yes, it is probably KDE which is hitting me =( I debugged and even Gtk > doesn't know about the position change, it just magically occurs some > time after show(), which indicates window manager changes. > > This works fine (just smaller then the screen width): > > begin > Application.Initialize; > Application.CreateForm(TForm1, Form1); > Form1.Left := 0; > Form1.Top := 0; > Form1.Width := 1673; > Form1.Height := 1050; > Application.Run; > end. > > This fails: > > begin > Application.Initialize; > Application.CreateForm(TForm1, Form1); > Form1.Left := 0; > Form1.Top := 0; > Form1.Width := 1674; > Form1.Height := 1050; > Application.Run; > end.
Qt supports fullscreen window state ... don't know for others. I guess that it's not hard task to implement it for other X11 widgetsets ... but don't know for win32 and carbon. zeljko
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus