For i = 1 to 10
Dim et As EditText
et.Initialize("et") 'All views will share the same event Sub.
et.Tag = i 'Useful later to distinguish between the views
Activity.AddView(et, ...)
Next
This is exactly the reason for setting the Tag value.One re,aining questions, in your example, all views share the same event, wich is fine, but if all the views of one kind have the same name, how can I go trhought then to get a particullar prop, like if in the example, if all were EditText views, how houl I gather the diferent Text values and then use them?
The same aproach using a For Next loop woyuld be great, but I can figure out to go through the views...
Dim v As EditText
v = Sender
if v.Tag = 3 Then ...