[Ironruby-core] AddRange problem

Dermot Hogan lists at ruby-forum.com
Fri Feb 8 05:14:16 EST 2008


I'm having trouble with this in a ListBox control:

self.listBox1.Items.AddRange(['a', 'b', 'c'])

I get the error

:0:in `InitializeComponent': wrong number or type of arguments for
`AddRange' (ArgumentError)

What's the correct syntax here?

(I think this used to work)

Dermot
-- 
Posted via http://www.ruby-forum.com/.


More information about the Ironruby-core mailing list