[Lazarus] Show image on the backgroud of a Form

lazarusportugalwebmasters at gmail.com lazarusportugalwebmasters at gmail.com
Mon Jun 6 14:02:37 CEST 2011


Hi.
I got this code at the event on show:
    background := TBitmap.Create;
    background.LoadFromFile({Cadeia+'\180px-Grid.bmp}'C:\Documents and 
Settings\Daniel\Ambiente de trabalho\qqwing\180px-Grid.bmp');
    Form1.Canvas.Draw(0,0,background);
But it no show any image on the backgroud of my Form.
This code is from 
http://www.codefoot.com/delphi/form_background_image.shtml .

-- 
#lazarus-br em irc.freenode.org
#lazarusportugal em irc.ptnet.org(Cloud IRC em lazarusportugal.org/doku.php/irc)
Em caso de dúvida sobre o cliente a usar clique em http://lazarusportugal.org/doku.php/duvidas_irc
Juntem-se a estes fantásticos IRC's sobre Lazarus





More information about the Lazarus mailing list