Chapter Contents

Previous

Next
Extended Table: _getWidgets

Extended Table: _getWidgets



Returns the identifier for an SCL list containing all widgets in the current row


Syntax
Details
Example

Syntax

CALL NOTIFY (extended-table-name, '_getWidgets', out-id);

Argument Type Description
out-id
N the identifier for the SCL list containing widget identifiers


Details

Use _getWidgets only in an SCL program's GETROW or PUTROW sections. This method can be used to send methods to objects in the table.


Example

_getWidgets returns the list of widgets in the third row of the table and changes the border color of all widgets to red:

GETROW:
   rc = fetchobs (dsid, _currow_);
   if (_currow_=3) then
      do;
         call notify('table', '_get_widgets_',
                      widgets);
         do i=1 to listlen(widgets);
            obj=getiteml(widgets,i);
            call send(obj, '_set_border_color_',
                     'red');
         end;
      end;
return;


Chapter Contents

Previous

Next

Top of Page

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