Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Layout1")
edit
End Sub
Sub edit()
For i = 1 To 2
Dim et As EditText
et.Initialize("edittext"&i)
et.Text = "test"&i
et.Tag = "tag" &i
et = Sender
Activity.AddView(et,50dip,(i * 50dip)+10dip, 100dip, 50dip)
Next
End Sub
Sub btnShow_Click
For i = 0 To Activity.NumberOfViews -1
If sf.Left(Activity.GetView(i).Tag,3)="tag" Then
Msgbox(Activity.GetView(i).Tag,"Tag is: ") ' it returns tag1 & tag2
Msgbox("?????????" ,"Value is: ") ' it must return test1 & test2 at first or anything else by user entery
End If
Next
End Sub