VB.NET 2005 SP1... I have two drop down items on a contextmenustip:
DropDown1 (Enabled)
DropDown2 (Disabled)
If i hover over dropdown1 to see the items, and then hover over
dropdown2 it will show the items and fire the dropdown event which can
crash the app as I expect the dropdown event only to fire if the menu
item is enabled.
If I don't hover over DropDown1 first it behaves as expected. Is this
a bug, or should I be doing something different?
Herfried K. Wagner [MVP] - 19 Jul 2008 02:07 GMT
"Bill Schanks" <wschanks@gmail.com> schrieb:
> VB.NET 2005 SP1... I have two drop down items on a contextmenustip:
>
[quoted text clipped - 5 lines]
> crash the app as I expect the dropdown event only to fire if the menu
> item is enabled.
What's the exact type of 'DropDown1' and 'DropDown2'? 'ToolStripMenuItem'
does not have a 'DropDown' event.

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Bill Schanks - 21 Jul 2008 02:31 GMT
It's a context menu strip.. On the toolbox under Menus & Toolbars, I
drop the Context Menu strip on my form. It allows you to right click
on a control (Datagridview, listbox, etc...)
On Jul 18, 8:07 pm, "Herfried K. Wagner [MVP]" <hirf-spam-me-
h...@gmx.at> wrote:
> "Bill Schanks" <wscha...@gmail.com> schrieb:
>
[quoted text clipped - 15 lines]
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
kimiraikkonen - 19 Jul 2008 17:22 GMT
> VB.NET 2005 SP1... I have two drop down items on a contextmenustip:
>
[quoted text clipped - 8 lines]
> If I don't hover over DropDown1 first it behaves as expected. Is this
> a bug, or should I be doing something different?
Hi,
Maybe DropDown1 is a ToolStripMenuItem of your ContextMenuStrip
control? And DropDown2 is child (sub) item of DropDown2? Those are may
be the just names of ToolStripMenuItem(s) based on my guess without
specific information which is not given in your post.
Thanks,
Onur Güzel