From: Nuralanur@... Date: 2006-07-09T04:24:46+09:00 Subject: [FXRuby] - Combobox reading out current item -------------------------------1152386677 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Dear all, I'd like to read out the current item of a combobox. In the documentation about FOX, there's a promise that for some developer version 1.5.x, it's possible to access FXCombobox using SEL_CHANGED I'm using FXRuby and Fox 1.6., as provided in the brand-new one-click installer for Windows version. But this doesn't seem to work. @cb=FXComboBox.new(self, 21, eval(_'@'_ (mailto:'@') + m_label), 0,COMBOBOX_STATIC|FRAME_SUNKEN|FRAME_THICK|LAYOUT_RIGHT){|cb| for i in _0...@array.length_ (mailto:0...@array.length) cb.appendItem(@array[i]) end } # ok so far, for the creation of the combobox @cb.connect(SEL_CHANGED){ p 'you changed me!' } # but then no output when I click on it ... :( Thanks in advance, Best regards, Axel -------------------------------1152386677--