B b4auser1 Well-Known Member Licensed 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 Feb 26, 2015 #2 yes you can pass String ! CallSubDelayed("Main","subname") or CallSubDelayed(Main,"subname") both will work
yes you can pass String ! CallSubDelayed("Main","subname") or CallSubDelayed(Main,"subname") both will work
Erel Administrator Staff member Licensed User Feb 26, 2015 #3 It is better to use the reference object instead of the string.
B b4auser1 Well-Known Member Licensed User Feb 26, 2015 #4 Thank you for answers. I will use string, only there is no way to use reference object.