Hi,
I think I said in my post that I was using 0.9.22 on XP
It DOES work it you just drop a TImage onto the TScrollBox.
If you resize the TImage to, say 300x300 on the TScrollBox (700x500),
then I believe that there will be a dead spot in the top lefthand corner
of about 300x400 where the mousewheel no longer responds. That is with
the 300x300 TImage placed in the centre of the TScrollbox. However, if
the TImage is made the same size as the TScrollbox, then the Mousewheel
never triggers mousewheel events.
Darmawan Sugiarto wrote:
Which version of Lazarus does???
I used 9.0.23 it works
*/Graeme Geldenhuys <[EMAIL PROTECTED]>/* wrote:
Hi,
Below is a forwarded message. Could anybody try and help this guy
out? I've never used a Scrollbox or the Mousewheel event.
------------------------------------------------------------------
From: Dave Coventry
Date: Jun 12, 2007 - 06:43 AM
Hi,
I've put a TScrollBox and a Tmemo onto a form. The TScrollbox has a
Mousewheel event that I can use to capture Mousewheel scrolls.
However, if I place a TImage into the TScrollBox, the Mousewheel is no
longer accessible.
If I click into the TScrollbox, it works. If I move the curser over
the TMemo, it still works. But if I move the cursor over the TImage
the mousewheel events are no longer being read.
Does anyone have a solution?
------------------------------------------------------------------
Regards,
- Graeme -
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
=============INTOSOFT============
ALEXIO CHAOS
[EMAIL PROTECTED]
Yahoo Messager
=================================
------------------------------------------------------------------------
Be a better Globetrotter. Get better travel answers
<http://us.rd.yahoo.com/evt=48254/*http://answers.yahoo.com/dir/_ylc=X3oDMTI5MGx2aThyBF9TAzIxMTU1MDAzNTIEX3MDMzk2NTQ1MTAzBHNlYwNCQUJwaWxsYXJfTklfMzYwBHNsawNQcm9kdWN0X3F1ZXN0aW9uX3BhZ2U-?link=list&sid=396545469>from
someone who knows.
Yahoo! Answers - Check it out.
--
Dave Coventry
Tel (home): +27(0)31 3092301
Tel (office): +27(0)31 2058448
Cell: +27(0)82 9000179
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives