in mouseup tnotifyevent,
shift parameter has not value of mouse button, values is zero. Button
parameter has value, mbRight etc.
if ssCtrl in Shift then... has same result, I mean not handle ctrl or
other keys(ssalt, ssshift)
On 2.04.2015 14:54, Vojtěch Čihák wrote:
Hi,
You must use:
if ssCtrl in Shift then ...
instead.
That's because mouse-buttons are in Shift too. If you do
Ctrl+right-click, then Shift=[ssRight, ssCtrl]. And possibly something
else (ssCaps).
V.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus