[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: -1 value from "GridView1.Column" and "GridView1.Row" with the middle mouse button
[Thread Prev] | [Thread Next]
- Subject: Re: -1 value from "GridView1.Column" and "GridView1.Row" with the middle mouse button
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Wed, 3 Sep 2025 10:02:06 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 03/09/2025 à 09:57, Benoît Minisini a écrit :
Le 03/09/2025 à 02:30, vuott@xxxxxxxxxxxx a écrit :Hello,if I click with the "middle" mouse button inside any "cell" of a GridView, I get -1 value from "GridView1.Column" and -1 value from "GridView1.Row".Yes, only the left and right buttons move the GridView cell cursor. Other buttons are silently ignored...
...but you can use the 'RowAt()' and 'ColumnAt()' methods in your mouse event handler to find which cell you clicked with the middle mouse button. And then you can use the 'MoveTo()' method, or do whatever you want.
Regards, -- Benoît Minisini.
-1 value from "GridView1.Column" and "GridView1.Row" with the middle mouse button | vuott@xxxxxxxxxxxx |
Re: -1 value from "GridView1.Column" and "GridView1.Row" with the middle mouse button | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |