|
Adding, Removing and Saving Files |
Top Previous Next |
Files tab
You can see what files are included in your project at any given time using the Files tab of the Project pane. It looks like this:

Adding New Files to Your Project
|
To add new files to your project, click Project > Add File or click the Add button on the Project Toolbar. |
You will be presented with the following dialog:

Specify a name for your file under Filename. If you also specify an extension, the Add as listbox is automatically updated. Automatically recognized file types are:
| • | .tbs -- basic files |
| • | .h -- header files |
| • | .bmp, .jpg, .png, .gif, .ico, .pcx -- graphic resource files |
| • | .txt -- text resource files |
| • | all other file extensions are classified as binary resource files by default. |
File type is set according to the selection in the Add as listbox, not the file extension.
Adding image files to the project (.bmp, .jpg, .png, .gif, .ico, .pcx extension) will prompt a request for additional information: file size in pixels and, if appropriate for the file type, the color mode selection (RGB or palette). This last selection won't be available if selected file type only supports true-color or paletted mode.

Format listbox will be disabled if the type of the image file you are adding is already known. Specifically:
| • | If your image file extension is not .bmp, .jpg, .png, .gif, .ico, or .pcx, then the listbox will be enabled. |
| • | If you did not provide any extension at all, then the listbox will be disabled and the PNG type will be selected automatically. |
| • | If you ended the filename with the comma (i.e. "abc.") then the listbox will be enabled. |
Removing Files from Your Project
|
To remove a file from your project, first select (single-click) it in the project tree. Then click Project > Remove File or click the Remove button on the Project Toolbar. |
You will be presented with a prompt. If you're sure you want to remove the file, select OK, and the file will be removed from the project. Note that it is not physically deleted -- only removed from the project tree.
Renaming Files
To rename a file, highlight it in the tree (single-click) and press F2, or single-click again.
Saving Files
|
To manually save your work, select File > Save, press Ctrl+S, or click the Save button on the Project Toolbar. |
Any of these actions would save all open and modified files in your project, including the project file itself.
In addition, every time your project is compiled, all open and modified files are saved.