To add our feature, we're going to have put in some lines of code. Controls, Events, Menu Handlers, Methods, and Properties. We'll be explaining these in more detail in future columns, but for now, we're going to focus on the Controls section. All of the interface elements you placed on Window1 are controls , so each of them should appear within the Controls section. You can reveal or hide the items inside the section simply by clicking on the triangle.
Events are basically things that happen to a control.
This separates different types of code without you having to specifically differentiate between them yourself. For example, in traditional Mac programming, your main program is a loop that constantly checks for events. With each choice, you'd send the computer off to a particular routine that handles that choice. Within REALbasic, events are sent to specific objects. An object can't have events that don't make any sense to it.