Hello,
Has the XUI .enabled property not been worked out completely yet for B4i?
If I set it to false it still registers click events.
I was hoping to simplify this method via the XUI way
Has the XUI .enabled property not been worked out completely yet for B4i?
If I set it to false it still registers click events.
B4X:
Dim l As Label
Dim lv As B4XView
l.Initialize("testlabel")
lv=l
l.Text="click me"
lv.Enabled=False
Page1.RootPanel.AddView(lv,0,0,100%x,10%y)
Sub testlabel_Click
Log("click")
End Sub
I was hoping to simplify this method via the XUI way
B4X:
#if B4A
If labels(x).Enabled=True Then
#else
If labels(x).UserInteractionEnabled=True Then
#end if
Last edited: