Copyright ã1996 by NeXT Software, Inc.  All Rights Reserved.

;RemovingObjects.rtfd;;¬  Next Section	;PlacingInterfaceObjects.rtfd;;¬  Previous Section

Initializingtext;¬Initializing text

1	Select the object.

2	Double-click the text inside the interface object.

3	Edit the text.

4	Deselect the text by clicking outside of the object.

Many of the palette objects include text as a component. Buttons of all sorts usually have titles, boxes usually name the elements they group, and so on. Interface Builder initially sets the text in most of these objects to the name of the object itself (such as ªButtonº or ªTextº). After you drag the palette object onto a window or panel, you will probably want to delete these text strings or rename them to something meaningful. This text is what is initially displayed when your application loads the nib file; the text can change later if one of the objects in your application requests it.

¬

When text is selected, you can move the cursor among the characters by pressing the left and right arrow keys. You can delete characters by pressing the Delete key. 

MatricesÐcompound objects, such as radio buttons and form fieldsÐneed a slightly different procedure for selecting text for initialization: You must double-click the embedded text item twice, the first time to select the embedded object, and the second time to select the text inside the object.

¬

ªCreating matrices of objectsº in this chapter describes how to create these compound objects.   ;CreatingMatricesOfObjects.rtfd;;¬  Also see ªCompound Objectsº in Chapter 3 for a conceptual summary of matrices and other compound objects.  ;../03_SettingObjectAttributes/SettingAttributesConcepts.rtfd;CompoundObjects;¬