Include a Sub Project / Module

  1. last year

    Bobby K

    9 Apr 2019 Testers, Xojo Pro Ålsgårde, Denmark

    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

    10 Apr 2019 Testers, Xojo Pro, MVP Answer Auckland, New Zealand

    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

    11 Apr 2019 Testers, Xojo Pro Ålsgårde, Denmark

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

  4. Paul L

    11 Apr 2019 Xojo Inc, Third Party Store

    More information about Code Sharing:

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

or Sign Up to reply!