Notifications
Clear all

[Closed] Creatin MenuBar 'file','edit','about' in dialog

hello,

i’m trying to add a mainmenu bar in a dialog (for example ‘file’, ‘edit’, ‘help’) i think you know what i mean

is it possible? i was looking at the dotnet objects but found the “mainmenu” class but don’t understand how to combine it with a rollout…

any help more than welcome!

thanks

2 Replies

if i do understand you why not use the RCMenu ?


(
	rollout RO "bla" width:300 height:200
	(
	)
	
	rcMenu blablaMenu
	(
		subMenu "File"
		(
			menuItem eexit "&exit"
		)
		
		on eexit picked do(destroydialog RO)
	)
	
	createdialog RO menu:blablaMenu
)

thanks again insanto just what i needed

and thanks for all the help you gave me with the test files, appreciate it