all groups > vb.net controls > june 2006 >
You're in the

vb.net controls

group:

ContextMenuStrip


Re: ContextMenuStrip Ahmed
6/19/2006 9:10:38 PM
vb.net controls:
the contextmenustrip is in the components collection and not the
controls.

[quoted text, click to view]
ContextMenuStrip James Wong
6/20/2006 12:00:00 AM
Hi,

I want to write a dynamic program to find ContextMenuStrip in the form,
but I cannot find this control see the code below.
How can I solve it?

------------------------------------------------
For i = 0 To Me.Controls.Count - 1
MessageBox.Show(CStr(Me.Controls(i).Name))
Next
------------------------------------------------

Thanks!

AddThis Social Bookmark Button