Ver Mensaje Individual
  #2  
Antiguo 25-07-2003
Avatar de German
German German is offline
Miembro
 
Registrado: may 2003
Ubicación: Barcelona - España
Posts: 133
Reputación: 24
German Va por buen camino
Lightbulb

Suponiendo que tenemos un componente tImage (Image1) pegado en el form con la propiedad align igual a alClient:


procedure TForm1.FormCreate(Sender: TObject);
var Fondo: tBitmap;
begin
Fondo := TBitmap.Create;
Fondo.LoadFromFile('D:\imagen\YoKeSe.bmp');
Image1.Canvas.Brush.Bitmap := Fondo;
Image1.Canvas.FillRect(Rect(0,0,Form1.Width,Form1.Height));
Fondo.Free;
end;


Salu2.

Última edición por German fecha: 25-07-2003 a las 13:31:42.
Responder Con Cita