Include a Sub Project / Module

  1. 5 months ago

    Bobby K

    Apr 9 Pre-Release Testers, Xojo Pro

    Hi there,
    I'm relatively new to Xojo, and I simply can't find how to include a 'Sub Module' in a project. I have some functions that needs to be used in more projects (different platforms), and I would like to make an external project/module that I can include in all projects, and the just update the Source Code in ONE module.

    Then at 'Compile' Xojo picks up the modifications in all projects. Can you direct me how this is done.
    /Bobby

    You can contextual click the module & make it external (I choose XML format) which will save it somewhere. To include the module in other projects you will create a link to the external item. On Windows I select the external item in explorer and then Control + Shift Click the item and drag it into the new project in the IDE which creates the link.

  2. Wayne G

    Apr 10 Pre-Release Testers, Xojo Pro Answer New Zealand axisdirect.nz

    You can contextual click the module & make it external (I choose XML format) which will save it somewhere. To include the module in other projects you will create a link to the external item. On Windows I select the external item in explorer and then Control + Shift Click the item and drag it into the new project in the IDE which creates the link.

  3. Bobby K

    Apr 11 Pre-Release Testers, Xojo Pro

    Hi Wayne,
    Sounds like the method for me. I'll give it a shot. Thanx a lot :-)

  4. Paul L

    Apr 11 Xojo Inc, Third Party Store http://docs.xojo.com

    More information about Code Sharing:

    https://docs.xojo.com/UserGuide:Sharing_Code

or Sign Up to reply!