Greying out toolbar buttons

Jay1b

Contributor
Joined
Aug 3, 2003
Messages
640
Location
Kent, Uk.
How can i grey out the toolbar buttons, when they are not required? ie: the disconnect button when i am disconnected.

I can do it in vb6, but so far it escapes me on how to do it in .NET.

Thanks
 
Hi,
Set the ToolBarButton's Enabled property to false

this.toolBarButton1.Enabled = false;

Dominic
 
Back
Top