Disable button in menubar

In the menu bar of the vehicle setup, I want to disable some items in it. Please teach me how I can do that.