[cbuilder:40044] RichEdit について

3 views
Skip to first unread message

吉沢

unread,
Nov 5, 2008, 4:32:42 AM11/5/08
to "C++Builderメーリング"
吉沢と申します。
また、質問させて下さい。

RichEdit のある特定の1行を取り出す事は出来るの
でしょうか?

AnsiString str;
str = RichEdit1->Lines

とかして出来そうな気もするのですが?
Lines の後に何を設定すれば良いかが分かりません。
これでは出来ないのかもしれませんが。
--


K.Shimizu

unread,
Nov 5, 2008, 4:54:37 AM11/5/08
to cbui...@sfdata.ne.jp
__property AnsiString Strings[int Index] = {read=Get, write=Put};
を使えば出来ます。

AnsiString str;
str = RichEdit1->Lines->Strings[0];

> RichEdit のある特定の1行を取り出す事は出来るの
> でしょうか?
>

吉沢

unread,
Nov 5, 2008, 6:39:33 PM11/5/08
to cbui...@sfdata.ne.jp
吉沢です。

ありがとうございます。
早速、試してみます。

Reply all
Reply to author
Forward
0 new messages