Menu Items on Winforms... disabled going down, enabled going up...
Menu Items on Winforms... disabled going down, enabled going up...
(OP)
Is this normal?
I have a form with a menu bar on it, one of the options, which has a sub-menu, is disabled.
If I move the mouse cursor down the list the result is perfect, you can hover over the item
in question and the sub-menu does not appear - great.
If I then move one (enabled) item down, the sub-menu for that item appears - correctly...
But if I now move back up, and hover over the disabled item, the sub-menu for it appears and
I can click on the sub-menu items that shouldn't be available.
In fact, this isn't just an up/down thing, if I hover over ANY menu item with sub-items, I can then access
the disabled ones sub-menu items as well.
This can't be right can it?
I have a form with a menu bar on it, one of the options, which has a sub-menu, is disabled.
If I move the mouse cursor down the list the result is perfect, you can hover over the item
in question and the sub-menu does not appear - great.
If I then move one (enabled) item down, the sub-menu for that item appears - correctly...
But if I now move back up, and hover over the disabled item, the sub-menu for it appears and
I can click on the sub-menu items that shouldn't be available.
In fact, this isn't just an up/down thing, if I hover over ANY menu item with sub-items, I can then access
the disabled ones sub-menu items as well.
This can't be right can it?
Regards
Griff
Keep ing
There are 10 kinds of people in the world, those who understand binary and those who don't.
RE: Menu Items on Winforms... disabled going down, enabled going up...
I did a little test (4.5 framework) and then I disabled by just going into the code and adding the Enabled = false. Working perfectly.
CODE --> C#
RE: Menu Items on Winforms... disabled going down, enabled going up...
It's .NET framework 4.0.30319, visual studio 2010
I ended up just making it invisible, but it's really annoying, because sometimes you want users
to see what would be available if they logged in or whatever
Regards
ing
Griff
Keep
There are 10 kinds of people in the world, those who understand binary and those who don't.
RE: Menu Items on Winforms... disabled going down, enabled going up...
RE: Menu Items on Winforms... disabled going down, enabled going up...
Regards
ing
Griff
Keep
There are 10 kinds of people in the world, those who understand binary and those who don't.
RE: Menu Items on Winforms... disabled going down, enabled going up...
RE: Menu Items on Winforms... disabled going down, enabled going up...
I'm not disabling the submenu items individually, just the parent, and it only 'reenables' the
submenu items if I hover over another (any other) enabled menu items with sub items.
Regards
ing
Griff
Keep
There are 10 kinds of people in the world, those who understand binary and those who don't.