Chapter 3. Creating a minimal desktop application

Table of Contents

TbxMin description
Creating the application files
Creating the application code
Building the application

This chapter shows how to create a minimal working desktop application using the TBX library. It will show the contents of the standard Toolbox application files.

The application will be called TbxMin.

A faster way to get started on writing an application would be to use the !TbxAppGen application which will automatically generate a set of default files for you to modify, but I believe it is always useful to go through the steps by hand first to get a better idea of what is needed.

TbxMin description

TbxMin will put an icon on the iconbar when it is run from the filer. Pressing Menu over this icon will show a menu with options to show information on the application and to quit the application.

TbxMin uses very little of the TBX library, just enough to run an application. All user interaction is controlled by the Toolbox.