R Reinosoft Member Licensed User Longtime User Jan 16, 2013 #1 Hi, Is it possible to change directly the .TEXT attribute from a label, when running a sub from a module? Now i'm using the callsub routine Callsub("Main", "ChangeLabel") ... etc ps: Great Job Basic4Android!!!
Hi, Is it possible to change directly the .TEXT attribute from a label, when running a sub from a module? Now i'm using the callsub routine Callsub("Main", "ChangeLabel") ... etc ps: Great Job Basic4Android!!!
Erel B4X founder Staff member Licensed User Longtime User Jan 16, 2013 #2 Note that it is better to write: B4X: Callsub(Main, "ChangeLabel") 'without quotes You cannot directly access non-process globals from other modules. You can however create a class and pass the label to this class. You can then access the label from that class. Upvote 0
Note that it is better to write: B4X: Callsub(Main, "ChangeLabel") 'without quotes You cannot directly access non-process globals from other modules. You can however create a class and pass the label to this class. You can then access the label from that class.