K Kiran Raotole Active Member Licensed User Sep 3, 2018 #1 Hii experts, My custom view Label class is working fine. I add custom view label object in custom list view by add row function. But customlistview_itemclick event is not running when I click on custom view. Here is my code of custom cllick event Code: Copy Private Sub mBase_Click Log(mCallBack) Log(mEventName) If SubExists(mCallBack,mEventName & "_Click") Then CallSub(mCallBack,mEventName & "_Click") End If End Sub How to do this?
Hii experts, My custom view Label class is working fine. I add custom view label object in custom list view by add row function. But customlistview_itemclick event is not running when I click on custom view. Here is my code of custom cllick event Code: Copy Private Sub mBase_Click Log(mCallBack) Log(mEventName) If SubExists(mCallBack,mEventName & "_Click") Then CallSub(mCallBack,mEventName & "_Click") End If End Sub How to do this?
npsonic Active Member Licensed User Sep 5, 2018 #21 Kiran Raotole said: Is there is no solution in custom object? like using parent Click to expand... You must learn basics of B4A, so you could do what you want. Go watch learning videos created by Erel and find booklets. I don't know if anyone can help you before you understand basics. Upvote 0
Kiran Raotole said: Is there is no solution in custom object? like using parent Click to expand... You must learn basics of B4A, so you could do what you want. Go watch learning videos created by Erel and find booklets. I don't know if anyone can help you before you understand basics.
klaus Expert Licensed User Longtime User Sep 5, 2018 #22 Kiran Raotole said: I add custom view label object in custom list view by add row function. But customlistview_itemclick event is not running when I click on custom view. Click to expand... If you remove any click event in your blable customview module, and the CustomListView1_ItemClick works! But, then you loose any Click event if you use the blable customview alone somewhere else. I don't know if it's possible to transmit any event to the parent view of a customview. Upvote 0
Kiran Raotole said: I add custom view label object in custom list view by add row function. But customlistview_itemclick event is not running when I click on custom view. Click to expand... If you remove any click event in your blable customview module, and the CustomListView1_ItemClick works! But, then you loose any Click event if you use the blable customview alone somewhere else. I don't know if it's possible to transmit any event to the parent view of a customview.
LucaMs Expert Licensed User Longtime User Sep 5, 2018 #23 Erel's help is needed, here. I think that "my solution" works, is good enough and, probably, is the unique possible. I think also that no one has tried it. Upvote 0
Erel's help is needed, here. I think that "my solution" works, is good enough and, probably, is the unique possible. I think also that no one has tried it.
K Kiran Raotole Active Member Licensed User Sep 6, 2018 #24 LucaMs said: Erel's help is needed, here. I think that "my solution" works, is good enough and, probably, is the unique possible. I think also that no one has tried it. Click to expand... Your solution is great, but I'm unable to perform command line written in CustomListView1_Click and It's time consuming. Upvote 0
LucaMs said: Erel's help is needed, here. I think that "my solution" works, is good enough and, probably, is the unique possible. I think also that no one has tried it. Click to expand... Your solution is great, but I'm unable to perform command line written in CustomListView1_Click and It's time consuming.
LucaMs Expert Licensed User Longtime User Sep 6, 2018 #25 Kiran Raotole said: It's time consuming. Click to expand... Your (as developer) time or cpu / app time? Anyway, I don't know a better solution. As I wrote, only Erel can say something more, I think. Upvote 0
Kiran Raotole said: It's time consuming. Click to expand... Your (as developer) time or cpu / app time? Anyway, I don't know a better solution. As I wrote, only Erel can say something more, I think.
LucaMs Expert Licensed User Longtime User Sep 6, 2018 #27 Kiran Raotole said: How we call here Erel? Click to expand... Erel is here and everywhere (or Anywhere?) Upvote 0
Kiran Raotole said: How we call here Erel? Click to expand... Erel is here and everywhere (or Anywhere?)
K Kiran Raotole Active Member Licensed User Sep 6, 2018 #28 @Erel sir your small help is needed here. Plz give some solution. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Sep 7, 2018 #29 Kiran Raotole said: How we call here Erel? Click to expand... This is a community forum. Many members have tried to help you. Going over the posts above it doesn't look like you make it easy for us to help you. If you like start a new thread with a single post that describes what you are trying to do. Maybe View.performClick will help you: https://www.b4x.com/android/forum/threads/_click-event.88904/#post-562485 Upvote 0
Kiran Raotole said: How we call here Erel? Click to expand... This is a community forum. Many members have tried to help you. Going over the posts above it doesn't look like you make it easy for us to help you. If you like start a new thread with a single post that describes what you are trying to do. Maybe View.performClick will help you: https://www.b4x.com/android/forum/threads/_click-event.88904/#post-562485