[fxruby-users] FXComboBox with no currentItem

Lyle Johnson lyle at knology.net
Mon Jul 10 18:32:11 EDT 2006

On Jul 10, 2006, at 4:26 PM, Jeroen van der Zijp wrote:

> As far as I can tell from here, setting -1 should be possible; it  
> could
> be in the FXRuby binding itself.

Yes, it's an FXRuby bug.

> No to be honest, the FXComboBox uses the FXList in browse-select mode,
> which means as long as there is at least ONE item, the current item
> should be >=0...

Hmmm... Maybe I was right all along and just didn't know it. ;)

Anyways. After the bug fix, FXRuby will at least be consistent with  
FOX in terms of setting the current item index to -1.

More information about the fxruby-users mailing list