Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help Translating from VFP to VB
Message
From
08/06/2003 18:12:49
 
 
To
07/06/2003 21:39:54
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00797705
Message ID:
00797833
Views:
10
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?...

Previous
Reply
Map
View

Click here to load this message in the networking platform