Hello faber,

On 07/09/2010 15:45, faber wrote:
[...]
> 
> try with StringGrid1.MouseToCell(ScreenToClient(Mouse.CursorPos))
Oh... yes that solved the issue. Sorry for the noise :) i was searching for
the ScreenToClient, but $Deity knows why I was looking for it as procedure of
the StringGrid itself :)

> or better use X,Y with OnMouseDown:
>   StringGrid1MouseDown(Sender: TObject; Button: TMouseButton; Shift:
> TShiftState; X, Y: Integer);
> 
> 
umm but I am actually doing that one on context menu popup :) to add menu 
options
to filter out certain values; that is why I use Mouse object.

Lukasz


> 
> best regards
> faber
> 
> --
> _______________________________________________
> Lazarus mailing list
> [email protected]
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
> 


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to