モナーの *やさしい* Delphi質問スレ Ver.6
■ このスレッドは過去ログ倉庫に格納されています
0095鉄拐
NGNGいくらでも速度を向上させる方法はあるけど、例えば StringListを使ったら?
var
i:integer;
wStrList:TStringList;
begin
wStrList:=TStringList.Create;
wStrList.Text:=Self.RichEdit1.Text;
for i:=wStrList.Count-1 downto 0 do
begin
if (wStrList.Strings[i]='') then
wStrList.Delete(i);
end;
Self.RichEdit1.Lines.BeginUpdate;
Self.RichEdit1.Text:=wStrList.Text;
Self.RichEdit1.Lines.EndUpdate;
wStrList.Free;
end;
■ このスレッドは過去ログ倉庫に格納されています