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

;CustomizingBrowsers.rtfd;;¬  Next Section	;SettingMnemonics.rtfd;;¬  Previous Section

Settingboxgroupattributes;¬Setting box (group) attributes

¬	Set title position, border style, and horizontal and vertical offsets.

When you group a selection of objects in a box, that box (actually the box's content view) becomes the superview of the enclosed objects. In Interface Builder, you can move, copy, paste, and delete the group of objects as one. The box has several attributes that you can set.

¬

You can drag a box onto your interface and then programmatically replace its content view (blank by default) with another NSView object, or programmatically add subviews to the content view. You can also manipulate this box to make decorative rectangles and lines.

Tip: To make a line in an interface (such a a divider line between sections of a panel), drag a box onto the interface. Then switch off the title and make the box as narrow as possible in the required dimension (vertically or horizontally). Finally, set the offset (vertical or horizontal, whichever is applicable) to zero.

See Chapter€2, ªComposing the Interface,º to learn how to group objects inside of a box.  ;../02_Composing/GroupingObjects.rtfd;;¬

For more information on box objects, see the NSBox class specification in the Application Kit Reference.  ;/NextLibrary/Frameworks/AppKit.framework/Resources/English.lproj/Documentation/Reference/Classes/NSBox.rtfd;;¬