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.

DLL Talk / How do i create munus in the Rainbow editor?

Author
Message
Slaid
19
Years of Service
User Offline
Joined: 7th Nov 2005
Location: Vallsjobo, Sweden
Posted: 9th Sep 2007 19:47
I used these lines of kode in darkbasicPro to create the munu itom att the top of a window and have undermunus when I click on them.

mainMenu=createMenu(0)

addMenuItem mainMenu,"File",1
addMenuItem mainMenu,"Edit",2
addMenuItem mainMenu,"View",3

So now I tryed the rainbow editor to do the same thing but I cann't figure out how. None of the buttons that you can choose corespond to the menu itom. The closes I can come is the toolbar gadget.




May the sun shine on the soles of your feet.
MSon
20
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 12th Sep 2007 18:06 Edited at: 12th Sep 2007 18:08
Rainbow is limited so you can only add a Menu to the DBPro Window, Unless you code it yourself.

My App, will fix this, but its not finished yet, (Rainbow Replacement)
http://forum.thegamecreators.com/?m=forum_view&t=110695&b=8

Everyone Be Cool, You, Be Cool.

Login to post a reply

Server time is: 2024-11-22 22:27:35
Your offset time is: 2024-11-22 22:27:35