property MenuButton.Enabled as Boolean
Enables or disables the control.

TypeDescription
Boolean A Boolean expression that indicates whether the control is enabled or disabled.
By default, the control is enabled. Use the Enabled property to enable or disable the control.