Post office web site - 1. Choose Window.Components to view the Components panel

1. Choose Window.Components to view the Components panel if it isn t already open. Refer to Figure 12-1 to see the Components panel in all its splendor. 2. Drag a combo box from the Components panel onto the Stage. 3. Choose Window.Properties.Properties to open the Property inspector if it isn t already open. If necessary, click the collapse arrow on the Property inspector title bar to expand it and click the Parameters tab. The Property inspector appears with the Parameters tab on top. The Property inspector lists four parameters: Data, Editable, Labels, and Row Count. 4. Type a name in the Instance Name text field in the upper-left corner of the Property inspector. 5. To control whether the user can edit the items on the combo box s menu list, select True or False from the drop-down list for the Editable parameter. Selecting True allows the user to rename each item on the menu list. Selecting False prevents that from happening. 6. To create items on the menu list, click the magnifying glass next to the Labels text field in the Parameters tab of the Property inspector. The Values dialog box appears. 7. In the Values dialog box, click the plus sign to add a menu item or click the minus sign to delete a menu item. Click the upward-pointing triangle to move an item up on the list and click the downward-pointing triangle to move a menu item down on the list. When you add an item to the list, it is excitingly named defaultValue. 8. To change a menu item s name from defaultValue to something more interesting and meaningful, click the menu item in the Values dialog box and type a more useful name there. 9. Click OK. The Values dialog box closes. 10. To change the number of items that can be displayed in the combo box without a scroll bar, click the Row Count field on the Property inspector and type a new number. The default number is 5. 11. If you want to make the combo box wider so that longer menu items are more readable, choose Modify.Transform.Scale and change the size of the combo box by pulling the handles that appear on its borders. Chapter 12: Putting It All Together 263
Please visit our professional web hosting services to find out about cheap and reliable webhost service that will surely answer all your demands.

Leave a Reply