Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help Translating from VFP to VB
Message
De
08/06/2003 18:12:49
 
 
À
07/06/2003 21:39:54
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00797705
Message ID:
00797833
Vues:
9
Try this code:
Private Sub ProceedTextBoxes(ByRef toContainer As Control)

    '
    ' loop through control members in toContainer
    '
    Dim loControl As Control
    For Each loControl In toContainer.Controls
        '
        ' Process only the textbox type.
        '
        If TypeOf loControl Is TextBox Then
            '
            ' Clear the control.
            '
            If loControl.Visible Then
                loControl.Text = Space(0)
            End If
        End If
    Next loControl
End Sub

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform