Fórum treeview e listbox invisivel #237955
16/06/2004
0
Thaleshcv
Curtir tópico
+ 0Posts
17/06/2004
Tatuweb
var
Form1: TForm1;
Bitmap: TBitmap; <- Variavel Global
implementation
{$R *.DFM}
procedure TForm1.FormCreate (Sender: TObject);
begin
Bitmap := TBitmap.Create;
Bitmap.LoadFromFile (´C:\Arquivo.bmp´) ;
end;
procedure TForm1.FormPaint(Sender: TObject);
var
X, Y, W, H: LongInt;
begin
with Bitmap do
begin
W := Width;
H := Height;
end;
Y := 0;
// while Y < Height do
// begin
X := 0;
// while X < Width do
// begin
TreeView1.Canvas.Draw(X, Y, Bitmap) ;
// Inc(X, W) ;
// end;
// Inc(Y, H) ;
// end;
end;
procedure TForm1.FormDestroy(Sender: TObject);
begin
BitMap.Free;
end;Se vc quiser colocar a figura lado-a-lado basta retirar os comentários.
Gostei + 0
22/10/2004
Anicetojunior
Gostei + 0
22/10/2004
Tatuweb
:arrow: http://delphiforum.icft.com.br/forum/viewtopic.php?t=53506
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)