Fórum Sobre FillRect... #278806
25/04/2005
0
Bruno Belchior
Curtir tópico
+ 1Posts
25/04/2005
Edilcimar
Gostei + 0
25/04/2005
Bruno Belchior
Gostei + 0
25/04/2005
Edilcimar
Rect.Left := ColunaNome * IndiceH;
Rect.Top := LinhaNome * IndiceV;
Rect.Right := 950 * IndiceH;
Rect.Bottom := (Rect.Top + TextHeight(Nome) + 1) * IndiceV;
DrawText(Handle,Pchar(Nome),Length(Nome),
Rect,DT_WORDBREAK);
End;
If ImprimirResponsavel = True then
Begin
Font.Size := FonteResponsavel;
If NegritoResponsavel = True then
Font.Style := [fsBold]
Else
Font.Style := Font.Style - [fsBold];
Rect.Left := ColunaResponsavel * IndiceH;
Rect.Top := LinhaResponsavel * IndiceV;
Rect.Right := 950 * IndiceH;
Rect.Bottom := (Rect.Top + TextHeight(Responsavel) + 1) * IndiceV;
DrawText(Handle,Pchar(Responsavel),Length(Responsavel),
Rect,DT_WORDBREAK);
End;
If ImprimirEndereco = True then
Begin
Font.Size := FonteEndereco;
If NegritoEndereco = True then
Font.Style := [fsBold]
Else
Font.Style := Font.Style - [fsBold];
Rect.Left := ColunaEndereco * IndiceH;
Rect.Top := LinhaEndereco * IndiceV;
Rect.Right := 950 * IndiceH;
Rect.Bottom := (Rect.Top + TextHeight(Endereco) + 1) * IndiceV;
DrawText(Handle,Pchar(Endereco),Length(Endereco),
Rect,DT_WORDBREAK);
Gostei + 0
25/04/2005
Massuda
Gostei + 0
25/04/2005
Bruno Belchior
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)