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.

Code Snippets / Easy to create menus, ok, buttons for right now.

Author
Message
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 12th Dec 2003 21:51 Edited at: 15th Dec 2003 18:54
A work in progress. The drop-down menu items list isn't written yet, so the menu titles act more like buttons. Still, I think it's an effective way to create and handle multiple buttons for your apps.

UPDATE: Look Below

genius
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: Utah, USA
Posted: 13th Dec 2003 06:24
Pretty cool!

Be happy, tomorrow is another day
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 15th Dec 2003 18:53
Now has menu items. After a few more tweaks, I'll add a set for radio buttons.
Alien
20
Years of Service
User Offline
Joined: 14th Dec 2003
Location:
Posted: 15th Dec 2003 21:07
When I start it, it gives an error on line 68:
Function declaration has unknown parameter on line 68.
What am I doing wrong?

Static-X!!
HZence
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location:
Posted: 16th Dec 2003 05:28
Uh oh, looks like Rob K's got some competition!


Team EOD :: Programmer/Storyboard Assistant
Sly D
22
Years of Service
User Offline
Joined: 15th Oct 2002
Location:
Posted: 16th Dec 2003 19:31
Dude,thats pretty cool!

A cute looking koala with a WHAT!? THEY can't use Kalashnikovs, can they?
sonec gaimr1
21
Years of Service
User Offline
Joined: 10th Feb 2003
Location: USA
Posted: 16th Dec 2003 21:04
I get a syntax error at line 119. Is it because I have regular ol' DB?

Bert is evil, Barney is evil, and the Pillsbury Doughboy is evil. I knew it from the start.
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 16th Dec 2003 22:13 Edited at: 16th Dec 2003 22:14
Well, Rob K I think still has me beat. This is only for DBP. The TYPE and array list commands aren't available in DBC.

Alien, are you using DBP?
HZence
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location:
Posted: 17th Dec 2003 00:08 Edited at: 17th Dec 2003 00:08
Well, I must admit, once you have this all done and thrown into a few handy functions where I can just say:



I will be more than happy to use this.


Team EOD :: Programmer/Storyboard Assistant
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 17th Dec 2003 02:05
I wish I could do that in DB HZence.
HZence
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location:
Posted: 17th Dec 2003 03:23
Why couldn't you?


Team EOD :: Programmer/Storyboard Assistant
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 17th Dec 2003 07:29
Because in DB, you have to state all the parameters of the function. And when the function is called, all those parameters must be passed into it.
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 17th Dec 2003 07:32
I suppose I could allow something like:

MakeMenuObject(menuNumber, "File", "New-Open-Save-Exit")

And then just parse the string into seperate menu items.

Login to post a reply

Server time is: 2024-11-23 23:46:19
Your offset time is: 2024-11-23 23:46:19