Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27034

Can't get code to enable all controls on a form to work in VB 2010 Express

$
0
0
I am using the following code which does not work. What is wrong?

My Code Code:
  1. Dim Ctl As Control
  2.  
  3.  For Each Ctl In Me.Controls
  4.         Ctl.Enabled = True
  5.  Next Ctl

Viewing all articles
Browse latest Browse all 27034

Trending Articles