space
Previous Page | Next Page

Adding SAS Component Language Programs to Frames

Tips for Working with Frames and SCL

There are several important items to remember when you are working with SCL programs for FRAME entries:


When Frame SCL Is Not Required

A frame does not require an SCL program. Many components that you can add to a frame are designed to perform tasks without additional SCL code. For example, you can add a push button control to a frame and set its commandOnClick attribute to end. The END command then executes when a user clicks the push button. You do not need SCL to control this control's behavior.

Frame SCL entries do not have to control every component on a frame. When you create your own components (or subclass those provided by SAS software), you can add methods to perform operations. You implement these methods in an SCL entry that is separate from the SCL entries that are used by your frames. See Implementing Methods with SCL for more information.

In addition, communication between components in your application is possible without frame SCL. See Communicating with Components for more information.


When Frame SCL Is Required

You must include an SCL program for a frame in these situations:

space
Previous Page | Next Page | Top of Page