[Mono-list] Combo box focus problem
Adrien Dessemond
adrien.dessemond at softhome.net
Thu Jun 14 17:41:52 EDT 2007
Hello Manish,
On Thu, June 14, 2007 11:22 am, Manish Rai Jain wrote:
> I'm tracking down the "Changed" event of combo box, which notifies
I had the same kind of troubles some days ago. My workaround was something
like that :
public class X
{
bool _ignoreCall;
Gtk.ComboBox _testcombobox;
...
void on_TestComboBox_changed(object sender, EventArgs e)
{
if(_ignoreCall)
return;
...
}
...
void aMethod()
{
_ignoreCall = true;
_testcombobox.Active = n;
_ignoreCall = false;
}
}
Quick and (very ?) dirty solution. If a more elegant one exists, I will
appreciate to hear about it.
Kind regards,
Adrien
More information about the Mono-list
mailing list