J John de Murga Member Licensed User Longtime User Jan 12, 2011 #1 Hi, Is it possible to create a Sub that is accessible from all activities ? I have a data access function I want to share for example. And, is it possible to add a method to a "Type" declaration ? (I assume not) Thanks !
Hi, Is it possible to create a Sub that is accessible from all activities ? I have a data access function I want to share for example. And, is it possible to add a method to a "Type" declaration ? (I assume not) Thanks !
Erel B4X founder Staff member Licensed User Longtime User Jan 13, 2011 #2 Activities cannot share code as the OS controls each activity life cycle. In the next version there will be "static code" modules which will allow sharing code. It is not possible to add methods to types. Maybe in the future... Upvote 0
Activities cannot share code as the OS controls each activity life cycle. In the next version there will be "static code" modules which will allow sharing code. It is not possible to add methods to types. Maybe in the future...