Re: [Lazarus] GroupBox

2010-04-01 Thread José Mejuto
Hello Lazarus-List, Thursday, April 1, 2010, 8:22:00 PM, you wrote: >> Which function is being used to determine the client area of a >> groupbox ? MG> GetClientRect. Solved, thank you. fpgui does not enforce the ClientRect, so the position of any control inside a groupbox at 0,0 is at 0,0 of t

Re: [Lazarus] main form icon and other things

2010-04-01 Thread Paul Ishenin
02.04.2010 0:07, Alberto Narduzzi wrote: Dear all, ok, as sometimes, only talking about something is enough to get it solved... I saw I was suing bsDialog as the style of my main form, and that prevented the icon to show. Setting it to either bsSingle, or bsSizeable solved the issue. Now I

Re: [Lazarus] GroupBox

2010-04-01 Thread José Mejuto
Hello Lazarus-List, Thursday, April 1, 2010, 8:22:00 PM, you wrote: >> Which function is being used to determine the client area of a >> groupbox ? MG> GetClientRect. >> I thought that it should be "GetClientRect" but this >> function is never called for my groupbox :-? Nor the WinControl one, >

[Lazarus] Cross compiling

2010-04-01 Thread Alberto Narduzzi
Hi all again... so, what do I need to install/configure, in order to be able to produce _also_ windows executables from my Linux box with Lazarus and fpc? Thank you, A. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.l

Re: [Lazarus] GroupBox

2010-04-01 Thread Mattias Gaertner
On Thu, 1 Apr 2010 19:43:27 +0200 José Mejuto wrote: > Hello Lazarus-List, > > Which function is being used to determine the client area of a > groupbox ? GetClientRect. > I thought that it should be "GetClientRect" but this > function is never called for my groupbox :-? Nor the WinControl on

[Lazarus] GroupBox

2010-04-01 Thread José Mejuto
Hello Lazarus-List, Which function is being used to determine the client area of a groupbox ? I thought that it should be "GetClientRect" but this function is never called for my groupbox :-? Nor the WinControl one, nor the WinAPI one. -- Best regards, José --

Re: [Lazarus] main form icon and other things

2010-04-01 Thread Alberto Narduzzi
Dear all, ok, as sometimes, only talking about something is enough to get it solved... I saw I was suing bsDialog as the style of my main form, and that prevented the icon to show. Setting it to either bsSingle, or bsSizeable solved the issue. Now I have only to check if also the windowstate

Re: [Lazarus] main form icon and other things

2010-04-01 Thread Alberto Narduzzi
Paul, (...)Maybe paticular images does not work properly. Please create a bug report with a test application and we will see what is wrong there. ok, so I created a brand new project, and the icon worked. So must be something with my project having been created with a previous version of La

Re: [Lazarus] main form icon and other things

2010-04-01 Thread Paul Ishenin
01.04.2010 15:50, Alberto Narduzzi wrote: 1. I specify (load, from the object inspector) an icon for the application's main form, but when I compile and run the application, its icon is always the red "X" icon; no matter what file I load (be it an .ico, or an .xpm). Nothing changes even if I

Re: [Lazarus] main form icon and other things

2010-04-01 Thread Alberto Narduzzi
shoKwave, 1. Have you seen the possibility to set an icon in project/projectoptions menu? I'm under Linux, no option to set an icon in project/project options... 2. I use Form1.Hide in onShow event and can't see any flicker. Maybe my mashine is to fast? if I do so (quite obviously) I don'

Re: [Lazarus] main form icon and other things

2010-04-01 Thread shoKwave
Am 01.04.2010 09:50, schrieb Alberto Narduzzi: 1. I specify (load, from the object inspector) an icon for the application's main form, but when I compile and run the application, its icon is always the red "X" icon; no matter what file I load (be it an .ico, or an .xpm). Nothing changes even if

[Lazarus] main form icon and other things

2010-04-01 Thread Alberto Narduzzi
Hi all, I am pretty new to this list, althou I used Lazarus and fpc a lot in the past; and now I am back to it. I recently updated both Lazarus and the fpc compiler to the following versions: Lazarus: 0.9.28.2 beta SVN Revision: 22288 fpc: Free Pascal Compiler version 2.2.4 [2009/10/05] for