c++ builder / TMemo / TRichEdit > WantReturnsプロパティ > TMemo:改行禁止 / TRichEdit:変わらず
1196 ワード
動作環境
C++ Builder XE4
関連 http://qiita.com/7of9/items/9702f592d44d10ea1c68
TMemoとTRichEditについて調べる中、WantReturnsプロパティというのを見つけた。
WantReturns ではユーザーがテキストにハード リターンを挿入できるかどうかを判別します。
実際にWantReturns をfalseにして動作を見たところ、以下の結果となった。
- TMemo: 改行が入力されなくなった
- TRichEdit: 改行は入力できるまま
関連
http://docwiki.embarcadero.com/Libraries/Seattle/ja/Vcl.StdCtrls.TCustomMemo.WantReturns
Author And Source
この問題について(c++ builder / TMemo / TRichEdit > WantReturnsプロパティ > TMemo:改行禁止 / TRichEdit:変わらず), 我々は、より多くの情報をここで見つけました https://qiita.com/7of9/items/4604c12c4beab610122b著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .