def select button
      if button.is_a? String
        ;
      else
        button = button.value
      end
      set_value button
    end
def select button
      if button.is_a? String
        ;
      else
        button = button.value
      end
      set_value button
    end
select the given button or value.
 This may be called by user programs to programmatically select a button