4gl programs can include 6 groups of files - 4gl source files, form files, theme files, images, text files, and other files like styles and scripts, documents, media, etc.
You can store these files on your file system and add them to your programs when necessary by the Import wizard:
To import a file from your file system, please follow these steps.
Definite importing procedure does not depend on the file type, so we'll use an image file as a simple example.
Step 1. Start the Import wizard in one of the ways described here.
You can browse your file system for the necessary directory:
or select it in the list of the folders from which other files were already imported:
You can Select or Deselect All files in the directory by using the buttons or reduce selection only to a definite file type (or types) after pressing Filter Types...:
You'll see this message until you select any file/files:
By default, files are imported to the source folder of the current project.
Basic options include:
Overwrite existing resources without warning - when checked, all the existing resources will be overwritten with the newly-imported once without any warnings. Otherwise, you'll get this warning:
Create top-level folder - when checked, a new folder will be created that will hold the newly-imported file (the folder will have the same name as the initial directory):
Advanced options include:
Create links in workspace - when checked, allows creating links between the newly-imported file and virtual folders or relative to the corresponding variables:
The imported files are not automatically added to the necessary program (compare the screenshots above and below) and are not processed then programs and projects are compiled, built, and run:
To make an imported file a part of the program, you have to add it to this program as a requirement following these steps:
If there are too many files available, you can filter them by their type:
Select All and Deselect All options are available as well.
After this, you can press Next to add external libraries to the program or Finish to complete the wizard.
You can use this method to import many files at once.
Refer here to find out how you can create a new project of these files.