Why am I getting this error?

mjtaryan

Active Member
Licensed User
Longtime User
I have an app with two virtually identical activites (the content is different but handled the same. Each of these activites is called from Activity_Main which has a listview menu. Both of the called activites were working as expected and hoped. I've been working on preferences for the app and was having some problems so I temporarily commented out those portions of each activity that had to do with the preferences. Now I get an error message that tells me a label I"m using needs to be initialized. Two things I don't understand. First, the label of the same name in each activity and declared in Sub Global (NOT in Process_Global) occurs in a Sub that is second one to be called. Both of these essentially say, "Touch the screen to begin.". (I'd have used a single sub, but can't call subs in another activity if its paused) In one activity this "StartMsg" sub gives raises no error and in the other, it does. Any clues as to what I need to look for in going through the code?
 
Top