Profile Picture

Newbie: Creating menus

Posted By Tomas Vera 14 Years Ago
Author
Message
Tomas Vera
Posted 14 Years Ago
View Quick Profile
Forum Newbie

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
Last Active: 14 Years Ago
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
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

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
Posted 14 Years Ago
View Quick Profile
Forum Newbie

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
Last Active: 14 Years Ago
Posts: 6, Visits: 1
Thanks!! That's what I was looking for.

-tomas



Similar Topics


Reading This Topic