- Jeong Hwan Jang
- PowerBuilder
- Monday, 15 May 2023 07:16 AM UTC
Hi, everyone.
I made a user object has 3 datawindows are aranged vertically. (Powerbuilder 2019 R3)
And I checked VScrollBar property of the user object to show vscrollbar.
But, I have to click the vscrollbar several times to move the bottom datawindow.
This is not comfortable, I want to move quickly with using mouse wheel.
So, I wrote scripts in 'other event' of user object as below, but it is not working.
Is there any problem in this script?
----------------------------------------------------------------------------
CONSTANT integer WM_MOUSEWHEEL = 522
IF message.number= WM_MOUSEWHEEL THEN
message.processed = true
if wparam/10000000 > 1 then // down wheel
send(handle(this), 277, 3, 0)
else
send(handle(this), 277, 2, 0)
end if
END IF
----------------------------------------------------------------------------
I'm looking forward to your help.
Thanks.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.