CHAPTER 3 CREATING AN APPLICATION S USER (Anonymous web server) INTERFACE

CHAPTER 3 CREATING AN APPLICATION S USER INTERFACE in relation to its distance from the horizontal and vertical edges of the window. This way, the control maintains its distance from the specified window edge when the user increases or decreases the size of the window. You saw each of these properties in use through your development of the RBBookFinder application in Chapter 2. In addition to all these alignment tools, REALbasic also provides you with tools for evenly aligning the space between groups of controls. These tools are represented by six icons located on the Windows Editor toolbar, as Figure 3-48 shows. Figure 3-48. Alignment controls are located on the right-hand side of the Windows Editor toolbar. To align two or more controls, begin by selecting a control that is properly positioned, and then click the Back icon on the Windows Editor toolbar to mark it as an anchor around which the other controls will be aligned. Then, you select it and the other controls you want to align, and then click the appropriate alignment icon. In similar fashion, you can evenly assign the space between selected controls by selecting two or more controls, and then clicking either of the two space alignment icons. Changing Tab Order When your applications run, the user can use Tab to jump from control to control. The currently selected control is the control that has focus. In other words, the currently selected control is the control that will receive any keyboard input. Not all controls can receive focus and the controls that can receive focus vary from OS to OS, as Table 3-1 shows. Table 3-1. REALbasic Controls That Are Capable of Receiving Focus Control Macintosh Windows Linux EditField Yes Yes Yes ComboBox Yes Yes Yes Canvas Yes Yes Yes PushButton Yes Yes Yes Continued
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision J2ee Web Hosting services.

Leave a Reply