Exception when using seperator in contextmenu

H

Harry Hudini

If i place a seperator bar in a context menu, i always get the following
error;

An unhandled exception of type 'System.NotSupportedException' occurred in
System.Windows.Forms.dll

Additional information: NotSupportedException



Any ideas why this might be ?



Olly


--
________________________________________________
ADSSupport.net
http://www.adssupport.net
Dedicated free Active Directory ServicesT support

email: oliver.marshall@[email protected]
 
H

Harry Hudini

Mark,

Thanks. Do you know how to create toolbars at runtime using VB#net? I cant
find much about it on the net.

Olly
 
C

Chris Tacke, eMVP

Strictly speaking all controls are created at run-time. The designer simply
writes the code for you. Take a look at the code that the designer writes
and just move & modify it to do what you want when you want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Finding currency symbol 1
Color Dialog 2
Images on tabs of the tab control 1
recreating the file explorer drop downs 1
index of previous row 1
Date Time Picker control 3
using RIGHT() 11
Memory information 2

Top