Chapter Contents

Previous

Next
Widget Class: _popups

Widget Class: _popups



Changes the pop-up menu processing option


Syntax
Details

Syntax

objectName._popups( option );

Argument Type Use Description
option Character Input specifies the pop-up menu processing option: GATTR (honor general attribute), OBJECT (run object label), OFF (ignore it), POPUP (use _popup method)


Details

Popmenu processing is normally specified in the Command Processing window in the object attributes. The four option values correspond to the four radio buttons in the Command Processing window.

The _popups method is used by the work area object to force items added to the work area to use the _popup method instead of the _select method (the default). This is done because the popup interface provided by the work area object is the primary method of manipulating work area items as well as removing those items.

Example

Allow all objects in the frame to run the _popup method:

 INIT:
  list = makelist();
  _frame_._getWidgets(list);
  do i = 1 to listlen(list);
     object = popl(list);
     object._popups('popup');
  end;
  return;


Chapter Contents

Previous

Next

Top of Page

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