Adding Stack Files to Application

You can define which stack files your application requires. The framework will automatically load all stack files into memory at launch and can also verify that the stack file exists and refuse to launch if not present.

Add A Stack File

Click the Add Stack button to select a stack file to add to the application.

Select Stack File

The answer file dialog will open with the root application folder selected by default. The stack file you select should be stored somewhere in this folder. In this example I am selecting a file in the ./components subfolder.

Specify Type

Click Library if the stack file acts as a library. The stack and any substacks contained in the stack file will be put in use when your application launches.

A Window will only be loaded into memory.

Is It Required?

Specify whether or not the stack file is required in order for the application to launch. If it is not required then it will be loaded into memory if present but will be silently ignored otherwise.

Complete

You have now added a stack file to your application. The relative path to the stack now appears in the list of stack files.

Previous Lesson: Getting, Setting and Saving Preferences Table of Contents Next Lesson: Adding Externals to Application