Table of Contents
This chapter goes through how to create a simple application that shows a single Window where you can enter text and press a button to reverse it. It also shows a count of the number of characters in the text field as you type them.
The full demo application is called !Reverse and include in the separate TBX-Examples download.
The initial application is created in the same way as the TbxMin application from earlier in the book. In this case we are calling the application Reverse.
For this application we also want to add a window to show our user interface that will allow text to be inputted and then reversed.
Use ResEd to create a new window called "reverse", add a writable field (id 1) for the input, a display field (id 3) to display the count and a push button with a caption of "Reverse" with the local button flag set to true and deliver event set to other with an event number of 1.
Edit the iconbaricon object and put this window in the object to show on a click.