From: Mark Smith Date: 2005-01-06T09:11:31+09:00 Subject: Re: [ANN] foxGUIb - Interactive Fox GUI Builder and Code Generator Martin DeMello said the following on 1/5/2005 2:28 PM: >> >>Thanks for pointing this out. foxGUIb is currently based on FXRuby >>1.0.29. I did never test it with FXRuby 1.2.2. >> >>Porting to the new FXRuby version is one of the next big tasks for me. > > FWIW, it doesn't currently work with 1.2 - I got the following (after > changing all 'require fox' to 'require fox12') : > > $ ruby foxGUIb.rbw > ./FX/fxbase.rb:386: uninitialized constant Fox::FXMenubar (NameError) > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `r > Looks familiar. Had the same problem this week when playing with my own XML viewer (with REXML). To solve this one, change all FXMenubar constants to FXMenuBar (also change FXTreelist to FXTreeList). Further, the docs for FXTreeList aren't right, so I guess Lyle still has a few more loose ends to tie up. [XTreeList(p, nvis, tgt=nil, sel=0...] Try to enter an integer for nvis, and get a type error--it only accepts 'nil' for the second parm, and an integer for seletor--but I can't get it to recognize the selector to pass to an 'onCmd' method. -- Regards, Mark Smith mailto:mas.lists[at]cox.net ================================================================ A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? ================================================================