Chapter Contents


SAS/AF Software: Class Dictionary


The OLE classes enable you to include an Object Linking and Embedding (OLE) object in a FRAME entry. There are three types of OLE classes: the OLE Insert class, the OLE Paste class, and the OLE Read class. Each class contains the same standard methods and behavior; they are distinguished primarily by the procedure you use to insert them into a FRAME entry. Each type of OLE object also has its own set of behaviors, which you can access through the SAS/AF methods described here.

Note:    The OLE classes are available only on operating systems that support OLE, such as Microsoft Windows. For complete information about using OLE with the SAS System, see your host companion.  [cautionend]

Each OLE class has its own item on the object Selection List:

For more information on the Microsoft dialogs, click Help for the dialog. After you select the object to include, you use the OLE Object Attribute window to specify the object's attributes in the FRAME entry.

For complete information about how to include OLE objects in a FRAME entry, see your host companion.

When you include an OLE object with Paste Special or Insert Object, you can choose whether to embed the object in your frame or create a link to the object's source. An embedded object stores all of its information within the document; it remains unchanged unless you edit it from within the frame. A linked object is not stored in the document, but is a link to the information stored elsewhere; you can edit this information outside of the FRAME entry, and the object will reflect the changes. If the location of the linked information changes, the link must be updated to reflect the new location (using the OLE Links dialog). Also, if you distribute the SAS/AF application that uses the linked object, you must distribute the linked information as well.

OLE controls (also called OCXs) are a special type of OLE object with these additional features:

For examples of how to use OLE custom controls, see your host companion.





Chapter Contents



Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.