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
-- 
Posted via http://www.ruby-forum.com/.