CHAPTER 3 CREATING AN APPLICATION S USER INTERFACE (X web hosting)

CHAPTER 3 CREATING AN APPLICATION S USER INTERFACE Table 3-1. Continued Control Macintosh Windows Linux ListBox Yes Yes Yes PopupMenu No Yes Yes CheckBox No Yes Yes Slider No Yes Yes By default, the order in which the focus is transferred between controls depends on the order in which the controls were added to the window. The first control added to the window gets the initial focus and, when Tab is pressed, focus is passed off to the control that was added second, and so on. You can change the default Tab order using the icons found on the Windows Editor tool- bar. The first step is to get REALbasic to display a visual indication of each control s Tab order by clicking the Show Control Order button on the Windows Editor toolbar. The result is a number displayed in the button s right-hand corner of each control showing its Tab order. The control with the lowest number gets focus first. You can change a given control s order by selecting it, and then clicking one of the following Windows Editor toolbar buttons: Forward. Moves the selected control ahead one position in the Tab order. Front. Moves the selected control to the end of the Tab order. Backward. Moves the selected control backward one position in the Tab order. Back. Moves the selected control to the beginning of the Tab order. Tip You can also change the default Tab order by changing the value of each control s ControlOrder property. Building a Desktop Clock In keeping with this book s promise to show you how to create a new application in every chapter, the rest of this chapter is dedicated to guiding you through the creation of the RBClock desktop clock application. For this example, REALbasic for Macintosh is used. However, you should be able to cross-compile this application into a Windows or Linux application with minimal tweaking to the user interface. The RBClock application, shown in Figure 3-49, is designed to provide the user with a small desktop clock that can easily be tucked away in the corner of the screen.
If you are in need for chaep and reliable webhost to host your website, our recommendation is http web server services.

Leave a Reply