From: Tim Perrett Date: 2007-05-06T01:24:47+09:00 Subject: Re: RubyCocoa Sheets - help anyone? Ok cool, that makes sense, so I would need to define a sheet method that runs just before the sheet is going to close? Its a callback for the sheet effectivly then. I have tried instansiating both NSSelector and NSSelectorFromString, but no luck. I have tried instansiating them in a number of ways: NSSelectorFromString.alloc.init('connectionSheetDidEnd') NSSelector('connectionSheetDidEnd').alloc.init and so on... It complains it does not like the NSSelectorFromString and thinks it is an uninitilized constant? Cheers Tim -- Posted via http://www.ruby-forum.com/.