Libraries for components

Just expanding on the concept of libraries for globals, it dawned on me it could be for virtually any element or resource (not for a moment expecting this to even be considered at beta but still wanting to jot it down).

Xojo is a development tool which has user created Modules which can be dropped into a project. I typically use them to carry the database class and code I need for various apps. Drop in a module and a database connection is essentially done. Same for whatever classes might be needed (like specialised fields, properties etc).

If Elements could have some form of ‘Module’ - which could contain Globals, resources (like fonts and images), custom font styles, custom components etc - it means dragging one ‘Module’ into Resources could make all those things available to any new project. Sort of like a user theme but a bit more granular.

I wanted to start a new version of a test project and realised I’d have to recreate all the globals, re-copy all the resources and recreate all the custom text styles I’d made.

This is something we’ve discussed internally and is certainly on the cards. Not sure it’ll make it into the beta just yet, but this is going to be a popular request so something we’ll want to tackle!