Quote Originally Posted by Karl77 View Post
What I really want to detect is if I clicked outside a cell.
The dark grey area:
Name:  vbf.jpg
Views: 5094
Size:  26.5 KB

The Width sum works fine for the X direction.
For Y I need the position of the cell.
And when I ask for the Top, the same effect kicks in.
When I sum up the cell heights, I don't have the correct position.

Or is it all too complicated what I want, and there is a better method that I don't see?
What about the .HitTest method and check .HitResult = FlexHitResultNoWhere? (Not available in MSFlexGrid, but here in VBFlexGrid.