>  Docs Center  >  Libraries  >  ASTROLIB  >  SELECT_W
Libraries

SELECT_W

SELECT_W

Name


SELECT_W

Purpose


Create a non-exclusive widget menu of items

Explanation


More than one item may be selected or 'de-selected'.
Normally called by SCREEN_SELECT

Calling Sequence


SELECT_W, items ,iselected, [ comments, command_line, only_one ]

Inputs


items - string array giving list of items that can be
selected.

Optional Inputs


comments - comments which can be requested for each item in
array selections. NOT YET IMPLEMENTED
command_line - optional command line to be placed at the bottom
of the screen. It is usually used to specify what the
user is selecting.
only_one - integer flag. If set to 1 then the user can only select
one item. The routine returns immediately after the first
selection is made.

Optional Keyword Input


      SELECTIN - vector of items to be pre-selected upon input (not used for
              only_one option)

Output


iselected - list of indices in selections giving the selected
items.

Optional Output Keyword


      COUNT - Integer scalar giving the number of items selected

Common Blocks


SELECT_W - Used to communicate with the SELECT_W_EVENT procedure

Modification History


Written, K. Venkatakrishna & W. Landsman, Hughes/STX January, 1992
Widgets made MODAL. M. Greason, Hughes STX, 15 July 1992.
      Changed handling of MODAL keyword for V5.0 W.Thompson September 1997
      Added selectin keyword D. Lindler 01/12/99



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us