And that does it! Thank you, Jimmy!

Summarizing: I was trying to use the ScintillaNet control from IronRuby.
The main class in the ScintillaNet DLL is ScintillaNet::Scintilla, and
I'd been able to invoke its methods and work with its properties from
IronRuby just fine. That class also implements the INativeScintilla
interface, but I was having difficulty working with the methods and
properties of that interface from IronRuby. Accessing those was the
goal.

>From .net, you should be able to access those with code like this:

  ((INativeScintilla)scintilla).BackTab()

The equivelent in IronRuby (thanks to your reference to Work Item 1594,
http://ironruby.codeplex.com/workitem/1594) is:

  scintilla.clr_member( ScintillaNet::INativeScintilla, :BackTab ).call

That was the mechanism I was reaching around for.

Thanks again,
--John

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to