Hi,
In VB6 I was using index property with combobox. But .NET
dont support "Index" property. How can i use the
following code in VB.NET now?
for i=0 to 100
if comboPID(0).caption = "" then
exit sub
endif
next
Thanks,
Kashif
Ken Tucker - 09 Aug 2003 23:25 GMT
Hi,
Try something like this.
Dim ctrl As Control
For Each ctrl In Me.Controls
If TypeOf (ctrl) Is ComboBox Then
ctrl.Text = ""
End If
Next
Ken
--------------------------
> Hi,
>
[quoted text clipped - 11 lines]
>
> Kashif