Seems that RequestEvaluation doesn't trigger the evaluation of data inside collapsed area regions.
http://en.smath.info/forum/yaf_postsm17742_Data-Exchange-plugin.aspx#post17742
As written in the post:
- when the area region is not collapsed, the function exportData.XXX is triggered when the executable is opened, and when the combobox changes selected item
- when the area region is collapsed, the function exportData.XXX is triggered when the executable is opened, but not when the combobox changes selected item
the combox code is simple
CustomComboBox ccb = new CustomComboBox(); // ownerdrawn ComboBox
// ...
ccb.SelectedIndexChanged += delegate(object sender, EventArgs e)
{
this.ElementSelected = ccb.SelectedIndex + 1;
this.CallEvaluation();
};
where:
public void CallEvaluation()
{
if (this.Evaluable && GlobalParams.IsAutoReCalc)
{
this.RequestEvaluation(true);
}
else
{
this.Invalidate();
}
}