I have created a scrollview in the designer and then in code I add check box views:
The click event fires but SENDER is null.
Any ideas of what causes this?
Rusty
B4X:
Dim chkbx As CheckBox
chkbx.initialize("chkbx")
chkbx.text = "checkbox"
ScrollView1.panel.addview(chkbx, 0dip, 0dip, 100dip, 100dip)
...
sub chkbx_Click
Dim x as checkbox
x = sender
''''at this point sender is null
The click event fires but SENDER is null.
Any ideas of what causes this?
Rusty