B b4auser1 Well-Known Member Licensed User Longtime User Feb 26, 2015 #1 Is it correct to use CallSubDelayed, CallSub with string value for the Component As Object. In details: Now I use CallSubDelayed, CallSub with (Me, ...) or (Activity, ...). Can I use CallSubDelayed, CallSub with ("ModuleName", ...) ?
Is it correct to use CallSubDelayed, CallSub with string value for the Component As Object. In details: Now I use CallSubDelayed, CallSub with (Me, ...) or (Activity, ...). Can I use CallSubDelayed, CallSub with ("ModuleName", ...) ?
KZero Active Member Licensed User Longtime User Feb 26, 2015 #2 yes you can pass String ! CallSubDelayed("Main","subname") or CallSubDelayed(Main,"subname") both will work Upvote 0
yes you can pass String ! CallSubDelayed("Main","subname") or CallSubDelayed(Main,"subname") both will work
Erel B4X founder Staff member Licensed User Longtime User Feb 26, 2015 #3 It is better to use the reference object instead of the string. Upvote 0
B b4auser1 Well-Known Member Licensed User Longtime User Feb 26, 2015 #4 Thank you for answers. I will use string, only there is no way to use reference object. Upvote 0