Memo 中 使用 FindDialog
摘要:
procedureTForm1.Button1Click(Sender:TObject);beginfinddialog1.Execute;end;procedureTForm1.FindDialog1Find(Sender:TObject);varI,J,PosReturn,SkipChars:Integer;beginforI:=0toMemo1.Lines.CountdobeginPosReturn:=Pos(FindDialog1.FindText,Memo1.Lines[I]);ifPosReturn<>0then{found!}beginSkipChars:=0;for 阅读全文
posted @ 2011-06-21 16:18 jxgxy 阅读(274) 评论(0) 推荐(0) 编辑