Android Question [SOLVED] [B4XPages] Pass parameters to Appear

makis_best

Well-Known Member
Licensed User
Longtime User
Hello

We can't pass parameters to B4XPage_Appear like B4XPage_Appear(YesNo As Boolean)????
Like we can do to Initialize sub like Initialize(YesNo As Boolean)

I try but I get the error
B4X:
Error occurred on line: 0 (HttpUtils2Service)
java.lang.Exception: Sub b4xpage_appear signature does not match expected signature.
public static anywheresoftware.b4a.pc.RemoteObject it.ciew.b4xpageparaggelies_subs_0._b4xpage_appear(anywheresoftware.b4a.pc.RemoteObject,anywheresoftware.b4a.pc.RemoteObject) throws java.lang.Exception

class anywheresoftware.b4a.pc.RemoteObject,

If not... Why?


Thank you.
 

LucaMs

Expert
Licensed User
Longtime User
If not... Why?
Because you cannot pass parameters to any routine that takes no parameters :oops:

1606487697527.png


or create your own routine OR property.
 
Upvote 0
Top