AFAIK forwarding of messages works only on Windows, so if you need it
cross-platform, you will have to use
"TScrollingWinControl(Parent).ScrollBy (0, ScrollAmount);" in any case.
So this should be the correct way to do it. - Zeljko, correct me if I am
wrong, you are the specialist here :)
I'd like to forward a TLMVScroll message to the parent component as a
workaround for controls preventing parents from receiving mouse wheel
events (I couldn't find out how to let the parents receive them).
The problem is that the handler is
PROCEDURE TWhatever.WMVScroll(VAR Message :
On 04.11.2015 17:54, Martin Grajcar wrote:
I'd like to forward a TLMVScroll message to the parent component as a
workaround for controls preventing parents from receiving mouse wheel
events (I couldn't find out how to let the parents receive them).
The problem is that the handler is
On Wed, Nov 4, 2015 at 6:07 PM, Ondrej Pokorny wrote:
> On 04.11.2015 17:54, Martin Grajcar wrote:
>
> I'd like to forward a TLMVScroll message to the parent component as a
> workaround for controls preventing parents from receiving mouse wheel
> events (I couldn't find out
On 04.11.2015 18:29, Martin Grajcar wrote:
On Wed, Nov 4, 2015 at 6:07 PM, Ondrej Pokorny > wrote:
There is TControl.WndProc, but don't call it directly if you don't
know what and why you are doing it.
I found it in the meantime... and