|
グッディ さん、Hongliang さん、魔界の仮面弁士 さん ご返信ありがとうございます。
Hongliang さん、上に貼り付けてくれたコードはどこで確認できますか?
本題の件については、最終的に魔界の仮面弁士さんのやり方で CellPainting に デバッグコードを埋め込んで確認し、 以下のようなログを得ることができ大まかな流れは分かったのですが、 これって一度、行単位で選択している?という意味ですか?
>C = -1, R = 0, State = Displayed, Visible
よろしくおねがいします。
実際に確認したログも貼り付けます。
クリック前セル位置 [0,0] クリック後セル位置 [2,4]
<ログ> C = e.ColumnIndex、R = e.RowIndex, State = e.State
MouseDown C = 0, R = 0, State = Displayed, Selected, Visible C = 0, R = 0, State = Displayed, Selected, Visible MouseUp C = 0, R = 0, State = Displayed, Selected, Visible C = 0, R = 0, State = Displayed, Selected, Visible MouseDown C = -1, R = 0, State = Displayed, Visible C = 0, R = 0, State = Displayed, Visible C = 1, R = 0, State = Displayed, Visible C = 2, R = 0, State = Displayed, Visible C = -1, R = 1, State = Displayed, Visible C = 0, R = 1, State = Displayed, Visible C = 1, R = 1, State = Displayed, Visible C = 2, R = 1, State = Displayed, Visible C = -1, R = 2, State = Displayed, Visible C = 0, R = 2, State = Displayed, Visible C = 1, R = 2, State = Displayed, Visible C = 2, R = 2, State = Displayed, Visible C = -1, R = 3, State = Displayed, Visible C = 0, R = 3, State = Displayed, Visible C = 1, R = 3, State = Displayed, Visible C = 2, R = 3, State = Displayed, Visible C = -1, R = 4, State = Displayed, Visible C = 0, R = 4, State = Displayed, Visible C = 1, R = 4, State = Displayed, Visible C = 2, R = 4, State = Displayed, Selected, Visible C = 2, R = 4, State = Displayed, Selected, Visible MouseUp C = 2, R = 4, State = Displayed, Selected, Visible C = 2, R = 4, State = Displayed, Selected, Visible
|