def popup
      @list_config ||= {}
      @list_config[:row] ||= @row
      #@list_config[:col] ||= @col
      #@list_config[:col] ||= @col + @width
      # after introducing LabeledField which starts with lcol and uses col for field
      @list_config[:col] ||= @col 
      @list_config[:relative_to] ||= self
      # this does not allow us to bind to events in the list
      index = popuplist @list, @list_config
      if index
        text @list[index].dup
        set_modified(true) if @current_index != index
        @current_index = index
      end
    end
def popup
      @list_config ||= {}
      @list_config[:row] ||= @row
      #@list_config[:col] ||= @col
      #@list_config[:col] ||= @col + @width
      # after introducing LabeledField which starts with lcol and uses col for field
      @list_config[:col] ||= @col 
      @list_config[:relative_to] ||= self
      # this does not allow us to bind to events in the list
      index = popuplist @list, @list_config
      if index
        text @list[index].dup
        set_modified(true) if @current_index != index
        @current_index = index
      end
    end
calls a popup list
 TODO: should not be positioned so that it goes off edge
 user's customizations of list should be passed in
 The dup of listconfig is due to a tricky feature/bug.
 I try to keep the config hash and instance variables in synch. So
 this config hash is sent to popuplist which updates its row col and
 next time we pop up the popup row and col are zero.


 added dup in PRESS since editing edit field mods this
 on pressing ENTER, value set back and current_index updated