From: Chris Hulan Date: 2008-09-26T23:19:35+09:00 Subject: Re: How to get a string using InputDialog with FxRuby On Sep 26, 8:38 am, Li Chen wrote: > Chris Hulan wrote: > > On Sep 25, 2:25?pm, Li Chen wrote: > >> Hi all, > > >> Does anyone know how to get user input using InputDialog ?with FxRuby? > > >> Thanks, > > >> Li > >> -- > >> Posted viahttp://www.ruby-forum.com/. > > > The docs (http://www.fxruby.org/doc/api/classes/Fox/ > > FXInputDialog.html) are very clear, IMHO > > > Need more details or a code sample? > > > Cheers > > Chris > > I need a code sample. > > Thanks, > > Li > -- > Posted viahttp://www.ruby-forum.com/. I was hopping you'd provide a sample of code showing what you are trying to do ;) a very simple example: result = FXInputDialog.getString("Enter some text...",self,"New InputDialog","Please type some text:") if result print "User entered: " + result cheers