thomthom / SKUI

Ruby wrapper of classes that maps to GUI controls in SketchUp's UI::WebDialogs
MIT License
26 stars 14 forks source link

Sending array of strings to listbox.value= #62

Closed GWydouw closed 10 years ago

GWydouw commented 10 years ago

In listbox.rb for the method 'value=' you look if string is included. This doesn't work if you send an array with multiple strings. But the method works with sending an array of strings if you remove the string testing.

thomthom commented 10 years ago

Is this for selecting multiple items?

GWydouw commented 10 years ago

Yes.

GWydouw commented 10 years ago

Thomas,

In attachment my first plugin using your SKUI. It's not with the latest version of SKUI (because the of the on change problem) and I also removed the string check for the listbox.value

Is this the way I should distribute SKUI or is there a better way?

regards,

Guy

thomthom commented 10 years ago

There is no attachment here.

Note that this is emails from the GitHub thread. It's probably being stripped. And you might want to edit your last comment posted as it contains full contact info.