Set the property of sub menu item - Enabled=False
in coding i'm writing like this it gives an error
menustrip.Item(2) '' is the second one tab i.e. Edit and in edit i want to disable redo control .
what to do after that
You need to typecast the menu collection item.
CType(MenuStrip1.Items(1), ToolStripMenuItem).DropDownItems(1).Enabled = False
Thanks it works
but if i have one more tab inside on like
edit--> Redo--> my control to disable so what to do?
The same way as in post #4
CType(CType(MenuStrip1.Items(0), ToolStripMenuItem).DropDownItems(2), ToolStripMenuItem).DropDownItems(1).Enabled = False
i think this is usefull, a lot of the users have problems with .Net Framework installation,
Error code: HRESULT 0xc8000222
Do these to solve:
a: Click Start > ...
There are a number of very old threads on CUDA so I'm starting a new one rather than resurrecting an old one.
Does anyone here have any experience setting up ...
ive been develop a project known as ordering system
i need to delete data from db by clicking the button
ive follow a tutorial from utube and to the exact ...