Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help Translating from VFP to VB
Message
From
07/06/2003 21:39:54
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Help Translating from VFP to VB
Miscellaneous
Thread ID:
00797705
Message ID:
00797705
Views:
50
I want to loop through all the textboxes in a container and clear the control.

*---VFP code
lParameter toContainer
*
* loop through control members in toContainer
*
Local loControl
For Each loControl In toContainer.Controls
*
* Process only the textbox type.
*
If Upper(loControl.BaseClass) <> "TEXTBOX"
Loop
Endif

*
* Clear the control.
*
If loControl.Visible = .T.
loControl.Value = Space(0)
loControl.Refresh()
Endif
Endfor
Next
Reply
Map
View

Click here to load this message in the networking platform