Chapter Contents

Previous

Next
SAS/AF Software: Class Dictionary

Using the SLIST Entry List Model

You can use the SLIST Entry List Model class in conjunction with a viewer control for model/view communication. When you drop a model on a control in a frame, or you set the control's model attribute to the name of the instantiated model object, the items attribute of the view is automatically set to the items attribute of the model when you specify the entryName attribute on the model.

For example, add a list box control and an SLIST entry list model to a frame, then set listbox1.model to slistentrylist1. To display the SCL list contained in the SLIST entry in the listbox, specify a value for slistentrylist1.entryName.

You can also use the SLIST entry list model in an SCL program to retrieve an SCL list from an SLIST entry. Once you specify a valid SLIST entry name for the object's entryName attribute, simply query the items attribute to get the list.


Chapter Contents

Previous

Next

Top of Page

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