I can't seem to figure out what is wrong with this example. I added a service module to the B4XPages ThreePagesExample. I added an additional Pag4 just to test my wits, that all worked fine. But now I added a BLEservice module to the mix. The problem I'm having is that I can't get this service module to access Subs and Vars in a B4XPages object. You can see from, the declaration that isn't in error but then I try to initialize and define the object the B4A compiler make them RED as an error indicator. How do I do this correctly?
The 'B4XPages Booklet" keeps stating how easy it is to access var's and subs in other pages, but not a bunch of detail on Pages and Service modules interactions. I'm sure this is an easy one for any of you more experienced than me to solve. I couldn't find an example or forum issue dealing with this exact thing.
I transfered my problem to the genaric example code, so the Subs I'll be calling back to are not in this example. But the main issue is just decalring the object in the Service module and then accessing the Subs and var's the objects on that B4XPage from the Service module. (Worked nicely when I was all Activity type page code).
Thanks in advance, MY
The 'B4XPages Booklet" keeps stating how easy it is to access var's and subs in other pages, but not a bunch of detail on Pages and Service modules interactions. I'm sure this is an easy one for any of you more experienced than me to solve. I couldn't find an example or forum issue dealing with this exact thing.
I transfered my problem to the genaric example code, so the Subs I'll be calling back to are not in this example. But the main issue is just decalring the object in the Service module and then accessing the Subs and var's the objects on that B4XPage from the Service module. (Worked nicely when I was all Activity type page code).
Thanks in advance, MY