dl_chooser

Source: utils/widgets/dl_chooser.pro

 dl_chooser
        A semi-intelligent chooser widget routine.

 Usage:
        id = dl_chooser(parent, <keys>, listid=listid)

 Argument:
        parent  long    The widget ID of a base widget in which to
                        place this widget.

 Keywords:
        max_droplist    int     The largest allowable size for a
                                droplist widget. (default = 20).
        ysize           int     The size of a list widget.
        select          int     Which value to select initially
        {Any widget_droplist key}
        listid          long    A named variable to contain the widget
                                ID of the list widget if one is
                                generated, if a droplist is generated,
                                then this is the same as the return
                                value.

 Notes:
        For an input list with max_droplist elements or less a
        widget_droplist is generated, for longer lists a widget_list
        is generated.
        This isn't a proper compound widget with internal event
        handlers, value setters etc. it's just a quick hack to deal
        with the droplists that won't fit onto a screen.

 History:
        Original: 19/7/02; SJT



James Tappin 2005-02-04