[fxruby-users] SEL_COMMAND if text of current item in FXComboBox has changed

Thilko Richter thilko.richter at googlemail.com
Fri Sep 12 05:03:57 EDT 2008

Good Morning,

I have a FXComboBox widget where I would like to change the text of
the current item. Since there is some model data to be updated (not
connected via FxDataTarget), I need to handle the SEL_COMMAND message
(the handler block is connected). Actually I do this:

box.setItemText(box.currentItem, text)
box.setCurrentItem(box.currentItem, true)

It seems that the SEL_COMMAND message was not sent by the ComboBox. Do
I forget something?



More information about the fxruby-users mailing list