A AymanA Active Member Licensed User Jun 20, 2019 #1 Hi All, I am trying to use the great library by @DonManfred , but I have a problem using the onStateChange even with the example on this link: https://www.b4x.com/android/forum/threads/jellytogglebutton.68231/#content I have added the three files to my Additional library; however when try to run the example the log returns: Code: lib: NOTFOUND 'jellytogglebutton1_onstatechange It doesn't fail, it just return this message, I can see the toggle button and can switch it. But I figured out I can not use the onStateChange, so I am not sure how to proceed from here. Thanks for your help on this!
Hi All, I am trying to use the great library by @DonManfred , but I have a problem using the onStateChange even with the example on this link: https://www.b4x.com/android/forum/threads/jellytogglebutton.68231/#content I have added the three files to my Additional library; however when try to run the example the log returns: Code: lib: NOTFOUND 'jellytogglebutton1_onstatechange It doesn't fail, it just return this message, I can see the toggle button and can switch it. But I figured out I can not use the onStateChange, so I am not sure how to proceed from here. Thanks for your help on this!
DonManfred Expert Licensed User Longtime User Jun 20, 2019 #2 This is not a method to call. It is a event which is raised. Do you have a sub for this event? Code: sub jellytogglebutton1_onStateChange (position As Float, state sign As Object) end sub Upvote 0
This is not a method to call. It is a event which is raised. Do you have a sub for this event? Code: sub jellytogglebutton1_onStateChange (position As Float, state sign As Object) end sub
A AymanA Active Member Licensed User Jun 20, 2019 #3 This didn't even cross my mind I have added the sub and all is working fine now! thank you so much I really appreciate your help! and thank you for your efforts in this library it looks awesome in my App! Upvote 0
This didn't even cross my mind I have added the sub and all is working fine now! thank you so much I really appreciate your help! and thank you for your efforts in this library it looks awesome in my App!