How to know every control's Text property of a form
Hello,I want to konw every control's Text property of a form,and then I will make the next setp due to different cases.The code should be something like this:
For Each ctrl as control in Form1
If ctrl.Text="" then
'Do somehting in this case
End If
Next
But I don't know how to write that correctly.Please give me help for that.Thanks.
|