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 / need help with Level-Editor

Author
Message
KeNiBu
19
Years of Service
User Offline
Joined: 29th May 2005
Location:
Posted: 15th Jul 2005 17:52
Hi
I want to make an navigation menu (with "File", "Options", "Help", "...)
As you can see (when you compile the code) I can't create those menus,
it just opens when you go over it with the mouse, but I want it to open with a mouseclick and then it should stay open till you click again...
Here is my code.

www.kenibu.de.vu
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 16th Jul 2005 00:02
Pls repost your code with code tags.

Immunity and Annihalation makes Immunihalation...
James Morgan
19
Years of Service
User Offline
Joined: 17th Apr 2005
Location: Behind you
Posted: 16th Jul 2005 04:55
To open only when you click, find the part of your code that checks if the mouse is over the menu, then change this to also check if
mouseclick() = 1

The harder part is getting the menu to close afterwards.
Its not good enough just to check
mouseclick() = 1
again as this will open and close the menu constantly.
I think the following will work but it is untested:

Where [open menu] and [close menu] is the code to open and clost the menu's

J

Hello!
Jake Blues
20
Years of Service
User Offline
Joined: 19th Jun 2004
Location: United States
Posted: 16th Jul 2005 05:25
KeNiBu
19
Years of Service
User Offline
Joined: 29th May 2005
Location:
Posted: 17th Jul 2005 02:03
bluegui is not free, is it? I have Wingui, but don't know how to use it,
there is no helpfile. I can't get those menus work, they are only open
when you are over the menupname, and also the menus are set to 6 menus below
(those "hello"s), but i want every menu to get the number of below menus
which it needs (not 6 if only 3 are needed, or 6 and 8 are needed).




www.kenibu.de.vu

Login to post a reply

Server time is: 2024-09-23 23:25:23
Your offset time is: 2024-09-23 23:25:23