B4J Question [Solved] xCustomListView - Debug, Release and... other

LucaMs

Expert
Licensed User
I was searching for a bug in my project: I get a Null Sender when I click a label of a xCustomListView item but only in Release mode :eek:, when...

trying a new simple project with just a xCustomListView, I saw:

"Add" method of a xCustomListView in my "real" project:
upload_2019-5-13_3-5-34.png


"Add" method of a xCustomListView in my test project:
upload_2019-5-13_3-5-44.png


Both projects have:
upload_2019-5-13_3-2-17.png
 

LucaMs

Expert
Licensed User
Solved the first part too.

Inside the click event, before "using" the sender (lblXXX = Sender), I create a new form (without showing it, just the declaration & initialization).
I don't know why but this "resets", sets the Sender to Null.
 
Last edited:
Top