<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><span style="-webkit-text-size-adjust: auto;">I did a search on mouse wheel event delphi - I came up with a lot of articles, most mentioning OnMessage event. Then there was this article, which I've not read all the way, but you may find useful. I'm not sure if this was ported to Lazarus, but I've found referencing Delphi does garner solutions most times. </span><br><br><span style="-webkit-text-size-adjust: auto;"><a href="http://mc-computing.com/languages/Delphi/ScrollWheel.html">http://mc-computing.com/languages/Delphi/ScrollWheel.html</a></span></div><div><span style="-webkit-text-size-adjust: auto;"><br></span></div><div><span style="-webkit-text-size-adjust: auto;">-Chris</span></div><div><span style="-webkit-text-size-adjust: auto;"><br>-------- Everything at or below the line is a signature, not to be confused with the body of the email above. Sorry about the last signature text that seemed to have some people questioning my sanity. </span><div style="-webkit-text-size-adjust: auto;"><br></div><div style="-webkit-text-size-adjust: auto;"><p style="margin: 0px 0px 10px;"><span style="background-color: rgba(255, 255, 255, 0);">We are what we repeatedly do. Excellence, then, is not an act, but a habit.</span></p><p style="margin: 0px 0px 10px;"><span style="background-color: rgba(255, 255, 255, 0);">-Aristotle</span></p><p style="margin: 0px 0px 10px;"><span style="background-color: rgba(255, 255, 255, 0);"><br></span></p></div></div><div style="-webkit-text-size-adjust: auto;"><br>On Apr 11, 2014, at 13:45, Timothy Groves <<a href="mailto:the.tail.kinker@gmail.com">the.tail.kinker@gmail.com</a>> wrote:<br><br></div><blockquote type="cite" style="-webkit-text-size-adjust: auto;"><div>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
I have several TEdit objects in my form, and because they handle
only integer data, I'd like to use my scroll wheel to edit their
values. However, there is no OnScrollWheel event that I can see.<br>
<br>
Since scroll wheels are passed as mouse clicks, I thought to examine
the OnMouseDown/OnMouseUp events, but nothing is passed to indicate
<i>which</i> button is being pressed.<br>
<br>
So either Google has failed me, or I have failed Google, but either
way, I can't find the answer on the net after an hour of searching.
Can anyone point me in the right direction?<br>
</div></blockquote><blockquote type="cite" style="-webkit-text-size-adjust: auto;"><div><span>--</span><br><span>_______________________________________________</span><br><span>Lazarus mailing list</span><br><span><a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a></span><br><span><a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a></span><br></div></blockquote></body></html>