掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
FMX Tmemo 自動改行 (ID:149157)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
>LineCount:=strtoInt(Memo1.Lines.Count.ToString); これは、 LineCount := Memo1.Lines.Count; で、よさそうな・・ そして、 >if StrtoInt(Memo1.Lines.Text.Length.ToString)>=(30*LineCount) then も if Memo1.Lines.Text.Length >= (30*LineCount) then で、よさそうな・・ ただ、OnKeyUpイベントのたびに、 >if StrtoInt(Memo1.Lines.Text.Length.ToString)>=(30*LineCount) then のIF文で処理するのは、正しくないような気もします。
←解決時は質問者本人がここをチェックしてください。
更新する
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.