To add HTML tags to the menu item, use the following code:
menu.Items.Add(New C1WebMenuItem("<b><font size='-1'>Search the web</font></b>"))
· C#
menu.Items.Add(new C1WebMenuItem("<b><font size='-1'>Search the web</font></b>"));
· Delphi
menu.Items.Add(New C1WebMenuItem('<b><font size='-1'>Search the web</font></b>'));
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |