J
JB
Hi All,
I've always so far designed menus at design time and never had a
problem.
Today I want to create menus programmatically and add Sub Menus to a
ContextMenuStrip.
How can I programmatically reproduce what I do at design time by
setting the DropDown property of a Menu Item to the Sub Menu I wat to
attach to it?
The DropDown property doesn't exist on a ToolStripItem and I've tried
to play with the Owner property without any luck.
Any help or pointer would be greatly appreciated.
Thanks
JB
I've always so far designed menus at design time and never had a
problem.
Today I want to create menus programmatically and add Sub Menus to a
ContextMenuStrip.
How can I programmatically reproduce what I do at design time by
setting the DropDown property of a Menu Item to the Sub Menu I wat to
attach to it?
The DropDown property doesn't exist on a ToolStripItem and I've tried
to play with the Owner property without any luck.
Any help or pointer would be greatly appreciated.
Thanks
JB