I’m teaching myself Ruby by way of building an application using
FXRuby. I’ve gotten to the point where I have a functioning GUI,
and I can create dialogue boxes containing data extracted from a
database. However I’m having difficulty working out how to get the
data from the dialogue box form back into the application.
I’m used to dealing with web-based scripts written in PHP where all
data is posted into the server so the adjustment to client
application coding is proving a little difficult!
I’ve attempted to figure it out by studying the textedit
application that was bundled with the Ruby installation, but I’m
not quite getting it, and although the class documentation for Fox
is quite good actual usage examples are almost nonexistant.
I’ve posted the source code for my dialogue form at
http://www.flatnet.net/ruby/EditUserDialog.rb.html. If anyone could
give me some hints on how to proceed then I would be grateful.
···
–
Phil Roberts | Without me its just aweso. | http://www.flatnet.net/