[lazarus] can not resize form

LeVA leva at az.isten.hu
Thu Dec 18 07:43:19 EST 2003


Mattias Gaertner írta:
> On Mon, 15 Dec 2003 15:49:12 +0100  LeVA <leva at az.isten.hu> wrote:
> 
> 
>>And allow me to merge another problem. When I'm using the BitButton, or 
>>the TIMAGE, lazarus can not display the given bmp file correctly. It 
>>only puts some colour lines, and a thick black line instead of 
>>displaying the bmp. I tried to convert the bitmap to greyscale, but no 
>>success. I get these messages in my console, when adding bmp files:
>>
>>Warning: [TgtkObject.CreateBitmap] No visual for depth 8. Using default.
>>
>>I get this message when I'm opening a greyscaled bitmap file too.
> 
> 
> The old bitmap loading code is buggy.
> 
> The new fpImage code works better, although not for 8bit color depths. As
> soon as the official compiler for lazarus becomes fpc 1.9 or 2.0, fpImage
> will be activated as default. At the moment to activate it, you must compile
> the LCL with -dUseFPImage.
> 
> 
> Mattias

Could you tell me how to do this exactly? How to compile the LCL with 
the -dUseFPImage option? I'm compiling lazarus with cd lazarus; make. 
Where should I put that option?

Thanks!


-- 
LeVA







More information about the Lazarus mailing list