Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / Scroll Bar

Author
Message
ssj3_shadow
23
Years of Service
User Offline
Joined: 12th Jan 2003
Location:
Posted: 16th May 2004 13:19
what i have is a sprite which acts as a scroll bar, it works exacty as a windows scroll bar does, which was a nice accomplishment. the only other optoin i would like ot have is to bound the mouse scroll wheel to the scroll bar as it works inside a windows enviorment, scrolling the wheel up would move the scroll bar up. does any one know how to acheive this?

i havew already screwed arround with mousemovez() and mouse(), but nothing worked as in windows.

sample code of my variables is provided

Mouse click scrollbar and move it

NB. sprite 18 is the scroll bar and sprite 1 is the mouse

any help would be appreciated

w00t -what does it mean?
Pincho Paxton
23
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 16th May 2004 15:15
There are no mouse wheel commands in DB Classic, but I don't know about DBPro. I don't think there are anyway. So you would need a special Dll.

KC27
22
Years of Service
User Offline
Joined: 18th Mar 2004
Location:
Posted: 16th May 2004 16:55
Actually, there is for Pro, I think, as I have it, I will check it out for you, but I think if it does exist it is not for the wheel moving, but whether the weheel is pressed in or not.

the_winch
23
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 17th May 2004 02:47
If you have dbpro mousez() is what you want.


[beat the machine that works in your head]

Login to post a reply

Server time is: 2026-06-09 15:43:42
Your offset time is: 2026-06-09 15:43:42