Chapter Contents

Previous

Next
Frame Class: _childPopup

Frame Class: _childPopup



Displays a pop-up menu containing character items in an SCL list


Syntax
Details

Syntax

objectName._childPopup( items, objectID, selection );

Argument Type Use Description
items Numeric Update specifies the identifier of a list containing items to display in the pop-up
objectID Numeric Input specifies the object identifier of the object that received the original _popup method
selection Numeric Output returns the index number of the selection made from the pop-up menu


Details

This method is invoked by a widget's _childPopup method (see the _childPopup method in the Widget class for more information). This method gives the frame object a chance to modify the list that is displayed.

After the pop-up menu list displays, selection contains the selected pop-up menu item. If that selection belongs to this method, the selection should be handled, and selection should be set to 0 before returning. The list should also be cleaned up (removing items that were added, adding items that had been removed, making items active, and so on). It is important that the list and selection returned from this method be consistent with the list that was passed into the method. See the example of the _popup method in the Widget class.


Chapter Contents

Previous

Next

Top of Page

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