Chapter Contents |
Previous |
Next |
SAS/AF Software: Class Dictionary |
You can use the LIST 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.
For example, add a list box control and a catalog entry list model to a frame, then set listbox1.model to listentrylist1. To display the list contained in the LIST entry in the listbox, specify a value for listentrylist1.entryName.
You can also use the model in an SCL program to retrieve a list from a specified LIST entry. Once you specify a valid LIST entry for the object's entryName attribute, simply query the items attribute to get the list of catalog entries.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.