Defining Attachments to Enable Automatic Component Resizing

An attachment is a connection between two or more components that controls the placement or size of those components with respect to each other and to the frame itself.
Attachments enable you to define the spatial relationships between components and/or between components and frames, as well as to provide support for automatic component resizing. SAS software applications that have attachments automatically adjust component sizing and spacing when
  • a user resizes the window that contains the component(s).
  • the window that contains the component(s) is a different size at initialization time than it was when the FRAME entry was saved.
  • the application is ported to an environment that has different window sizes.
  • the application is displayed on a device that has a different resolution than the device on which it was developed.
Note: Attachments are not required, but they should be used to ensure accurate component sizing.
To define attachments, follow these steps:
  1. Select a component or components.
  2. Select the appropriate attachment mode. To do this, select Layoutthen selectAttachthen selectAttach Current Region or Layoutthen selectAttachthen selectAttach Child Region.
  3. Initiate define attachment mode. To do this, select Layoutthen selectAttachthen selectDefine Attachment.
  4. Select the attachment direction and type from the Define Attachments window.
  5. Drag out your attachments between components or between components and the frame.
  6. Click OK in the Define Attachments window. This ends define attachment mode and saves your attachments.
For more information about attachments, see Adding Attachments to Frame Controls.