Fórum memo #334520
11/12/2006
0
como eu faço para deletar linhas em branco no memo.... ou seja se exister linhas em branco no memo ele deleta e organiza o texto....
Wann_net
Curtir tópico
+ 0
Responder
Posts
11/12/2006
Flaviocont
cont:= 0;
end;
while (cont <= Memo2.Lines.Count - 1) do
begin
if ( Trim(Memo2.Lines[cont]) = ´´ ) then
Memo2.Lines.Delete(cont)
else
Inc(cont);
end;
usa isso ai q fica legal
end;
while (cont <= Memo2.Lines.Count - 1) do
begin
if ( Trim(Memo2.Lines[cont]) = ´´ ) then
Memo2.Lines.Delete(cont)
else
Inc(cont);
end;
usa isso ai q fica legal
Responder
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)