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.

DarkBASIC Discussion / mouse wheel help!!!

Author
Message
Inflictive
14
Years of Service
User Offline
Joined: 16th Jun 2009
Location: Altis
Posted: 9th Sep 2009 06:21
i need help using the mouse wheel. i made the following simple program:

do
cls
print mousez()
loop

the problem was, the only numbers that i would ever see were 0 and 99. for example, if the number displayed was zero, and i moved the wheel up a tiny bit, it would turn into 99. but if i keep moving it up, it stays at 99. if i move the wheel down, it goes back to 0.

PLEASE HELP ME!!!!

*´¨;
¸.•´¸.•*´¨; ¸.•*¨;
(¸.•´ (¸.Eviljackson1
Brick Break
User Banned
Posted: 9th Sep 2009 19:36
Well, that's the trouble with DarkBASIC's mouse wheel input. Try experimenting with mousemovez() instead.

WINNER list:
Brick Break, Latch, Lee Bamber, TDK, TheComet
Thanks for the help!
Inflictive
14
Years of Service
User Offline
Joined: 16th Jun 2009
Location: Altis
Posted: 10th Sep 2009 02:32
THANK YOU!!!!!!!!!

its weird tho because mousez() really doesent do anythng, and mousemovez() does what mousez() is supposed to...

*´¨;
¸.•´¸.•*´¨; ¸.•*¨;
(¸.•´ (¸.Eviljackson1

Login to post a reply

Server time is: 2024-05-09 06:27:30
Your offset time is: 2024-05-09 06:27:30