# Using List boxes and Combo Boxes in Ruby on Steel

**URL:** <https://www.ruby-forum.com/t/using-list-boxes-and-combo-boxes-in-ruby-on-steel/193154>\
**Category:** IronRuby\
**Created:** [August 12, 2010, 8:32am UTC](https://www.ruby-forum.com/t/using-list-boxes-and-combo-boxes-in-ruby-on-steel/193154 "2010-08-12T08:32:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![navin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/e5b9ba/32.png) [@navin](https://www.ruby-forum.com/u/navin)\
**Post date:** [August 12, 2010, 8:32am UTC](https://www.ruby-forum.com/t/using-list-boxes-and-combo-boxes-in-ruby-on-steel/193154/1 "2010-08-12T08:32:34Z")

</div>

I have just started using Ruby on Steel to create GUI

When I simply drag and drop a list box and add some items in the Form  
and then  
click Ruby Run Menu, I get the following error message

:0:in `InitializeComponent': wrong number or type of arguments for`AddRange’ (ArgumentError)  
from Snippets:0:in `main' from Snippets:0:in`Initialize’

Can anyone please help me how to solve the problem

Thanks,  
navin
