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.

Newcomers DBPro Corner / Problem with my "checkbutton" function not returning expected value

Author
Message
Orgull V2
20
Years of Service
User Offline
Joined: 22nd Jul 2004
Location: ...and the Trogdor comes in the niiight!
Posted: 31st Aug 2004 09:39 Edited at: 31st Aug 2004 09:53
EDIT: PROBLEM SOLVED, I SPOTTED MY GOOF, FEELING A LITTLE DUMB RIGHT NOW

Hi there... I'm building button functions in preparation for a game I'm working on and I'm having a problem. In the source code I've posted, the function "makebutton" seems to work just fine. But when I use the "checkbutton" function to see if the mouse cursor is over the button, I don't get the expected returnvalue of 1.

I know I've missed something that I'm going to kick myself for, but I just can't see it no matter how hard I look... can anyone help?

Thanks in advance.

EDIT: PROBLEM SOLVED, I SPOTTED MY GOOF, FEELING A LITTLE DUMB RIGHT NOW

Login to post a reply

Server time is: 2024-11-27 08:32:47
Your offset time is: 2024-11-27 08:32:47