Re: [Lazarus] non-sensical window repositioning

2011-06-30 Thread Felipe Monteiro de Carvalho
On Fri, Jun 24, 2011 at 10:32 PM, zeljko zel...@holobit.net wrote: why fsFullScreen ? IMO, wsFullScreen (WindowState) is more apropriate. Good idea! I implemented it like that. Now wsFullScreen exists and it works in gtk2 at the moment. -- Felipe Monteiro de Carvalho --

[Lazarus] non-sensical window repositioning

2011-06-24 Thread Felipe Monteiro de Carvalho
Hello, I just found a problem with lcl-gtk2 that I haven't ever seen before. Consider this code: begin Application.Initialize; Application.CreateForm(TForm1, Form1); Form1.Left := 0; Form1.Top := 0; Form1.Width := 1680; Form1.Height := 1050; Application.Run; end. This represents

Re: [Lazarus] non-sensical window repositioning

2011-06-24 Thread Mattias Gaertner
On Fri, 24 Jun 2011 13:49:59 +0200 Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: Hello, I just found a problem with lcl-gtk2 that I haven't ever seen before. Consider this code: begin Application.Initialize; Application.CreateForm(TForm1, Form1); Form1.Left

Re: [Lazarus] non-sensical window repositioning

2011-06-24 Thread Felipe Monteiro de Carvalho
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:

Re: [Lazarus] non-sensical window repositioning

2011-06-24 Thread Graeme Geldenhuys
On 06/24/2011 01:49 PM, Felipe Monteiro de Carvalho wrote: begin Application.Initialize; Application.CreateForm(TForm1, Form1); Form1.Left := 0; Form1.Top := 0; Form1.Width := 1680; Form1.Height := 1050; Application.Run; end. I adjusted that to one of my monitors 1440x900

Re: [Lazarus] non-sensical window repositioning

2011-06-24 Thread zeljko
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.