Topic: Menu

I want to create my own mainmenu (with possible submenu's) . For example I want to create the menuitems (in Dutch) like Bestand, Opties, Over.
I tried, but the first created menuitem do'nt show up. What is wrong?

Post's attachments

Attachment icon mtest.zip 332.52 kb, 535 downloads since 2017-12-10 

Re: Menu

Hi Kees,
Welcome to MVD.
You are almost there - you have declared your menu item okay but you also need to insert it with this command
Form1.mniFile.Insert(0, MyItem1);   
Please see attached.
Hope this helps,
Derek.

Post's attachments

Attachment icon mtest.zip 334.56 kb, 577 downloads since 2017-12-10 

Re: Menu

Hi Derek,

Thanks for your quick answer. I think my question was not clear enough. I don't want to see "File - Options - About"  in the mainmenu and "Bestand" as a submenuitem of the mainmenuitem "File".

I just want a mainmenu with (by example) "Bestand - Opties - Over" with te possiblity to create submenus for the example menus. Under "Bestand" by example "submenu1", "submenu2" etc. and so on for the other mainmenu items.
Could you help me with this?
Kees

4 (edited by derek 2017-12-10 14:19:09)

Re: Menu

Hi Kees,
Is this more what you are after?  (see attached)
Regards,
Derek.

Post's attachments

Attachment icon mtest.zip 336.4 kb, 651 downloads since 2017-12-10 

Re: Menu

Hi Derek,

What a service, a complete menustructure with  documentatation. Derek, you are a hero, thanks very much.

Regards,
Kees

Re: Menu

Hello
I am new with you
I liked the program very much
Now I learn
What I want to know
How to cancel the menu
Or how to change it and write what I want but without code
is that possible ?
Sorry I'm relying on Google Translator
Thank you

Re: Menu

Hello hosam, Derek

Without a piece of code, it will be impossible to create your own menus.
Please try with this attachment.
Take time to think about your own items et apply them to this example.

If any problems, call us, we shall help you

Regards

JB

Post's attachments

Attachment icon MENUS TEST.rar 12.94 kb, 704 downloads since 2018-04-10 

Re: Menu

Thank you for caring
I will try to learn it
good greeting

Re: Menu

SIMPLIFIED MENU CREATION
You can also follow this post to create your menus with ease using functions and procedures

http://myvisualdatabase.com/forum/viewtopic.php?id=4463

@thezimguy

Re: Menu

Thank you.

Dmitry.