Android Question Call a Parent Sub from a Class

Guenter Becker

Active Member
Licensed User
Dear Developers,
I have a b4xpage/Activity and I declared an instance of a class "X" as Private X1 as X in the Sub Globals.

In may Class "X" I like to transfer a value to the b4xpage/activity like I do in a Custom View Class.
callSub2(mCallback, mEventName & "_ABC", result)
I tried to use the Root Object from the B4xPage as mCallBack but it does'nt work.

And the Question is how to do this in a Standard Class?
Could Anyone help me with a small B4A snipped of a working callsub function.

Thant you in advance for your help.
 

Guenter Becker

Active Member
Licensed User
That works Thank you
 
Upvote 0
Top