掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
textBox指定行への出力 (ID:62189)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
一応指定行がない場合(行数が足りない)場合も考慮。 // 5行目に Test を設定する。 array< String^ >^ lines = this->textBox1->Lines; const int index = 4; // 行が足りない場合はResize if ( lines->Length < index + 1 ) { array< String^ >::Resize( lines, index + 1 ); } lines[ index ] = L"Test"; this->textBox1->Lines = lines;
←解決時は質問者本人がここをチェックしてください。
更新する
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.