The applications developers
who use your components to create frames must have access to those
components. You can make the components available for drag and drop
operations from the Components window, or developers can explicitly
associate a resource with a frame.
You can control the
contents of the Components window that appears in the build environment
in any of the following ways:
-
Add individual classes to the Components
window to test those classes. To add an individual class to the Components
window, select
Add Classes from the pop-up
menu inside the Components window.
-
Add classes to a resource, and
then add that resource to the Components window to organize several
classes. This process is recommended for deploying most components.
To add a resource to the Components window, select
Add
Resources from the pop-up menu inside the Components
window.
-
The Components window
displays any classes and resources that are defined in the Components
key of the SAS Registry. Resources that are used by any open FRAME
entries are also temporarily added to the Components window while
those frames are open. The default resource settings include
sashelp.fsp.AFComponents.resource
and
sashelp.fsp.build.resource
.
When you open a frame,
the Components window displays the resource that was used to create
the frame. Classes that are used by the frame and are not contained
in the resource are loaded individually by the frame but do not necessarily
appear in the Components window.
The resource that was
used when the frame was created is stored with the FRAME entry. By
default, a new frame uses the resource specified in the Resource value
of the
Products\AF\Design Time\Frame
key. You can explicitly change the active resource for the current
frame from the default frame resource in either of the following ways:
-
Enter the
RESOURCE resource-name
command.
-
Include a
RESOURCE=resource-name
option as part of
the BUILD command. For example:
build work.a.a.frame resource=sashelp.fsp.afcomponents.resource
To see which resource
is used by the current frame, you can enter the RESOURCE command without
a specified resource. The active resource is displayed on the SAS
status bar.