Search found 4 matches

by Zylox
Mon Jan 17, 2011 11:09 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: INPUT not preventing mouse clicks
Replies: 5
Views: 12090

I actually figured out the problem after I read your reply, and your way fixed it too. The problem was that it detected that there was a click during the input so it immediately went to the clickcheck sub, where it detected that the click had passed so it changed the values of the buttons based on t...
by Zylox
Mon Jan 17, 2011 3:24 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: INPUT not preventing mouse clicks
Replies: 5
Views: 12090

Don't know what sections you want so ill just take a stab at it. this is the main click detection section. I wrote it to go to a sub that detects the upclick instead of the downclick. DO annoyance = _MOUSEINPUT IF _MOUSEBUTTON(1) = -1 THEN GOSUB Clickcheck END IF IF INKEY$ = "m" THEN END E...
by Zylox
Mon Jan 17, 2011 1:47 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: INPUT not preventing mouse clicks
Replies: 5
Views: 12090

also: I am using QB64
by Zylox
Mon Jan 17, 2011 1:42 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: INPUT not preventing mouse clicks
Replies: 5
Views: 12090

INPUT not preventing mouse clicks

In a program I am working on, I am having trouble with input not preventing mouse clicks. It seems to be remembering the clicks no matter what I do, which leads to improper values being displayed if clicks are made in certain spots during the input. I could really use some help....