<p dir="ltr">No; I am unsure as to how to do that. Would I need to create a descendant class, or does Lazarus support overriding without doing so? </p>
<p dir="ltr">"Chess is an exciting game, when played with shotguns." --MegaHAL </p>
<div class="gmail_quote">On Apr 11, 2014 1:59 PM, "Mattias Gaertner" <<a href="mailto:nc-gaertnma@netcologne.de">nc-gaertnma@netcologne.de</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, 11 Apr 2014 13:45:41 -0400<br>
Timothy Groves <<a href="mailto:the.tail.kinker@gmail.com">the.tail.kinker@gmail.com</a>> wrote:<br>
<br>
> I have several TEdit objects in my form, and because they handle only<br>
> integer data, I'd like to use my scroll wheel to edit their values.<br>
> 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<br>
> OnMouseDown/OnMouseUp events, but nothing is passed to indicate /which/<br>
> button is being pressed.<br>
><br>
> So either Google has failed me, or I have failed Google, but either way,<br>
> I can't find the answer on the net after an hour of searching. Can<br>
> anyone point me in the right direction?<br>
<br>
Have you tried to override<br>
procedure WMMouseWheel(var Message: TLMMouseEvent); message LM_MOUSEWHEEL;<br>
?<br>
<br>
Mattias<br>
<br>
--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
</blockquote></div>