From: Li Chen Date: 2008-09-27T01:20:53+09:00 Subject: Re: How to get a string using InputDialog with FxRuby Li Chen wrote: > Hi Chris, > > Here is the script: > ### > require 'fox16' > include Fox > > result = FXInputDialog.getString("Enter some text...",self,"New > InputDialog","Please type some text:") > if result > print "User entered: " + result > end > ### > > Here is the result of running the script: > > C:\ruby\self\fox>fox1.rb > C:/ruby/self/fox/fox1.rb:4:in `getString': No matching function for > overloaded 'FXInputDialog_getString' (ArgumentError) > from C:/ruby/self/fox/fox1.rb:4 > > > I am sure what is wrong? > > Li Sorry there is a typo in my earlier post: I am NOT sure what is wrong about the results when I followed Chris's code sample. Thanks, Li -- Posted via http://www.ruby-forum.com/.