Newbie: Creating menus


Author
Message
Tomas Vera
Tomas Vera
Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)
Group: Forum Members
Posts: 6, Visits: 1
Hello All (caution newbie),
I am designing a form and want to add a simple menu structure at design time.
I can add NCommands programmatically, but I am lost when creating menus at design time.

I've added a NCommandBarsManager object to my form (I think I need to to that??).

But I can't seem to figure out how to add commands. Also, are NDockingToolbars added in the same manner?

Can someone point me in the right direction?

Thanks!

-tomas
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

Hi Tomas,

After you add NCommandBarsManager on the form you first need to add NMenuBar or NDockingToolbar where the commands will reside.

You can do that by clicking on the smart tag (the small arrow at the right top corner of the control) and then clicking on Show Editor link or just click on the Show Editor link on the bottom of the NCommandBarsManager Property grid.

Then click on New... button and add tool bar, menu bar or both.

After that you can add command ether by the smart tag on each menubar or toolbar or from the Command property in Property grid.

I hope this helps.



Best Regards,
Nevron Support Team


Tomas Vera
Tomas Vera
Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)
Group: Forum Members
Posts: 6, Visits: 1
Thanks!! That's what I was looking for.

-tomas
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search