Function MouseDown(x As Integer, y As Integer) As Boolean
という感じで座標はx,yで得ることができるがRowやColがズバリ取得できない
Row、Colは
Dim row As Integer = Me.RowFromXY(x, y)
Dim col As Integer = Me.ColumnFromXY(x, y)
という方法で取得できる。
Function MouseDown(x As Integer, y As Integer) As Boolean
という感じで座標はx,yで得ることができるがRowやColがズバリ取得できない
Row、Colは
Dim row As Integer = Me.RowFromXY(x, y)
Dim col As Integer = Me.ColumnFromXY(x, y)
という方法で取得できる。