掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
StringGridの編集モードについて (ID:47600)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
下記例では0〜2列のみ編集可能です。 procedure TForm1.StringGrid1SelectCell(Sender: TObject; ACol, ARow: Integer; var CanSelect: Boolean); begin case ACol of 0..2: StringGrid1.Options := StringGrid1.Options + [goEditing]; else StringGrid1.Options := StringGrid1.Options - [goEditing]; end; end;
←解決時は質問者本人がここをチェックしてください。
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.