Nevron Forum

Tabbed Menu Bars

https://www.nevron.com/Forum/Topic2416.aspx

By Brian J Warren - Friday, June 12, 2009

Hello,

I have a question about how to implement a special menu bar I encountered.

My project is a GUI interface to a financial API called VTTrader. The VTTrader API comes with it's own interface, and I want to approximate its look and feel.

Right now I'm working on the command bars. Screen01.jpg shows the VTTrader GUI menu. Command bars sit inside Groupers -- Tab Pages hold sets of Groupers.



Screen02.jpg show what I have so far. My problem is, I don't know how to set the Toolbars as children of the Groupers. I could only choose a tab page (as shown) or the form itself. Can you tell me how to do this?

A side question: how do you change the font size for the footer text in the Grouper? I'd like to increase the font to 10, which I can't do by changing the Font for the Grouper itself.

Thanks, Brian Warren

By Angel Chorbadzhiev - Wednesday, June 17, 2009

Hello Brian,

To put the toolbar as a child in a NGrouper you need to add the toolbar in the NGrouper Controls collection:

nGrouper1.Controls.Add(nToolbar1);

The font size of the text in the NGrouper footer can be setup by setting Style.FontInfo property of the footer item:

nGrouper1.FooterItem.Style.FontInfo = new Nevron.UI.NThemeFontInfo("Tahoma", 10F, Nevron.GraphicsCore.FontStyleEx.Regular);

Best regards,

Angel.

By Brian J Warren - Thursday, June 18, 2009

Hello Angel,

Thank you very much -- both your directions worked perfectly.

Thanks, Brian