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 / Clickable Menu?

Author
Message
Clear_Midnight
15
Years of Service
User Offline
Joined: 22nd Mar 2009
Location:
Posted: 5th Apr 2009 22:22
What is the code for clicking in a certain area for it to go to another screen? Please answer ASAP. Thank you.
Kira Vakaan
15
Years of Service
User Offline
Joined: 1st Dec 2008
Location: MI, United States
Posted: 6th Apr 2009 02:15
There's not any one code for anything. That's like asking for the word that describes the story of some novel. There are a million ways to tell that story. Just think about the things that go into it.

First, we need to know where the mouse is:


Second, we need to know where this clickable area is:

Of course, these values can be what ever you want them to be.

Third, we need to know if the mouse is within this area:


Next, we need to know if the user is clicking while inside this area:


And finally, we need the protected code inside the if block to actually do something. Tell it to display the next screen or tell it to go somewhere else that will display the next screen with goto.

Whenever you have problems, just break them down into pieces. It's the way to get better and learn.
feiting shadow
18
Years of Service
User Offline
Joined: 12th Sep 2006
Location:
Posted: 7th Apr 2009 10:57
check out GUI code from other forums

Hint:
sixty squares
Yours Truly
The DLL in Program announcements
Anything in the Snippets

if statements... (like kira states)

Signed
------
sneaky smith12
18
Years of Service
User Offline
Joined: 30th Apr 2006
Location: Like id tell you, oh wait i just did
Posted: 7th Apr 2009 17:33 Edited at: 7th Apr 2009 17:34
one thing you might want to look up is freshgui or FUI? in the program announcements... it's long since dead, but is still pretty cool stuff.

Fresh GUI

If at first you dont succeed, LOWER YOUR STANDARDS.

Login to post a reply

Server time is: 2024-11-24 09:24:35
Your offset time is: 2024-11-24 09:24:35