On Fri, Jun 24, 2011 at 2:46 PM, Mattias Gaertner <[email protected]> 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. -- Felipe Monteiro de Carvalho -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
