zimcoder Level: VB Lord

 Registered: 27-10-2003 Posts: 225
|
Re: Button unavailable
You simply set the button's Enabled property to false. You can do this during design time in VS.NET by choosing the Enabled property and setting it to false. or you can set this property at run time by doing the following
Dim btn as Button
btn = New Button()
btn.Enabled = false
your button control will be grayed out and ca not be clicked
____________________________
BrainBench ADO.NET and ASP.NET Certified Developer
 
|