folgenden Code funktioniert gut;für jede Schleife Selection arbeitet nicht
For Each c As Control In TabPage1.Controls
If Not TypeOf c Is Label Then
c.Enabled = False
End If
Next
Der folgende Code funktioniert großartig;
TextBox1.SelectionStart = 0
Der folgende Code funktioniert nicht;
For Each c As Control In TabPage1.Controls
If TypeOf c Is TextBox Then
c.SelectionStart = 0
End If
Next
Dies ist die Fehlermeldung;
'Selection' ist kein Mitglied von 'System.Windows.Forms.Control'
Vielen Dank. – Kramer