02-01-2007 05:43 PM
02-01-2007 07:46 PM - edited 02-01-2007 07:46 PM
Message Edited by altenbach on 02-01-2007 05:47 PM
02-02-2007 10:43 AM
02-02-2007 11:03 AM
🙂
02-02-2007 01:33 PM
02-02-2007 01:48 PM
@cig438 wrote:
Any ideas on why that is happening ?
Yes, my conversion from coordinates to cell number is very simplistic and probably needs to be tweaked a bit. Are all your cells of equal size?
Once your table is scrolled, you also need to increment the "sensed" position by the offsets obtained from the "IndexVals" property, which gives you the index of the cell currently in the upper left corner of the indicator.
02-02-2007 02:02 PM - edited 02-02-2007 02:02 PM
@cig438 wrote:
Also, I noticed that the further down in the table I go, the less accurate the row is populated.
OK, here's a quick fix for that one. Simply add 1 to the cell size to account for the width of the dividing lines. 🙂
Unfortunately, the table is "disabled" so you cannot scroll anyway. In order to be able to scroll, you need to enable the indicator again. To still get "the finger" as cursor, you can set the desired cursor with a "table: mouse enter" event and reset it with a "table: mouse leave" event.
Message Edited by altenbach on 02-02-2007 12:02 PM
02-02-2007 02:03 PM
02-02-2007 02:17 PM
02-02-2007 02:34 PM