Alright i know that its possible to "getkeys" and set commands for the
SHOE app. but i can't get it to work i want to replace a button with
somthing like keypress :enter ::
button("Submit Answer") do #this is where the *enter would go
                if @answerp.text.to_i == answer
                        answerbox.clear { para "correct" }
                        wrongbox.clear
                        @answerp.replace edit_line
in addition, can someone yell me why this doesn't  work, i was
attempting to clear my edit box.....
button("Submit Answer") do
                if @answerp.text.to_i == answer
                        answerbox.clear { para "correct" }
                        wrongbox.clear
                        @answerp.replace edit_line
.clear doesnt work either, i get an error and it just creates another
box.???
Thanks for any help
-- 
Posted via http://www.ruby-forum.com/.