openstudiocore/ruby/openstudio/sketchup_plugin/lib/dialogs/RunSimulationDialog.rb
def on_key(d,p)
      if (p == "27")  # Escape key
        on_cancel
      end   
    end
# call equivalent to Dialog's on_key, allow returns in text area

call equivalent to Dialog's on_key, allow returns in text area
call equivalent to Dialog ' s on_key allow returns in text area
def on_key(d,p)
      if (p == "27")  
        on_cancel
      end   
    end
def on_key ( d , p ) if ( p == "27" ) on_cancel end end
call equivalent to Dialog's on_key, allow returns in text area
call equivalent to Dialog ' s on_key allow returns in text area
# Escape key

d
p