掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
FindTextでオプションを設定するには? (ID:12279)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
おもいっきり勘違いしていました(;^_^A アセアセ… w_Word,w_Match: TSearchType; を TempSearchTypes : ComCtrls.TSearchTypes; にかえて TempSearchTypes := []; if frMatchCase in FindDialog1.Options then begin //大文字・小文字 TempSearchTypes := TempSearchTypes + [stMatchCase]; end; if frWholeWord in FindDialog1.Options then begin //単語単位 TempSearchTypes := TempSearchTypes + [stWholeWord]; end; FoundAt := FindText(FindDialog1.FindText, StartPos, ToEnd,TempSearchTypes); //修正 でいいと思います
←解決時は質問者本人がここをチェックしてください。
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.