LucasHeer Active Member Licensed User Longtime User Jan 23, 2020 #1 Hello! I am porting my B4A application to B4i, and I ran into a small issue. I have a CustomListView, and I have a panel with a SwiftButton on it. The button is used to open up a management view. In B4A, it works perfect! In B4i, the SwiftButton only registers long clicks. The short clicks will invoke the CLV's ItemClick event. I tried the normal B4i button, and it works perfectly. I assume it's just a problem with the SwiftButton. Here is my temporary fix: B4X: Copy Sub newsCLV_ItemClick (Index As Int, Value As Object) If(Index= 0) Then btnManageSubscriptions_Click End If End Sub
Hello! I am porting my B4A application to B4i, and I ran into a small issue. I have a CustomListView, and I have a panel with a SwiftButton on it. The button is used to open up a management view. In B4A, it works perfect! In B4i, the SwiftButton only registers long clicks. The short clicks will invoke the CLV's ItemClick event. I tried the normal B4i button, and it works perfectly. I assume it's just a problem with the SwiftButton. Here is my temporary fix: B4X: Copy Sub newsCLV_ItemClick (Index As Int, Value As Object) If(Index= 0) Then btnManageSubscriptions_Click End If End Sub
Erel B4X founder Staff member Licensed User Longtime User Jan 23, 2020 #2 Best if you upload a small program that demonstrates it.