Android Question Previously Working App Now Crashes

epsharp

Member
Licensed User
Longtime User
I wrote a Class Module to dynamically create Panels containing Buttons along with a Main to demonstrate the functions. Pressing any button on the screen would create a new example. Two days ago, it worked fine and I added a _LongClick event to compliment the _Click, recompiled and got an error. I removed the modification, but now I still get the error and I can't find an explanation of why.

I realize I must have inadvertently changed something, but I simply can't find it nor get the program working again.

Two days of googling B4A is enough! Can someone please tell me where I went wrong?
 

Attachments

  • Test.zip
    278.4 KB · Views: 121
  • B4aError.jpg
    B4aError.jpg
    27.6 KB · Views: 132

epsharp

Member
Licensed User
Longtime User
Edit....

Went back to testing while waiting for a reply and discovered that in the CallSub, changing "Sender" to b (dim as button) fixed the problem. Can't remember changing this but I must have. Guess I should have spent one more day before posting.
 
Upvote 0
Top