Move UDF to main form
SeKo
Hi all,I know this question has been asked before, but the answer is not doing exactly what I would like.
I would like to move a combobox from the UDF form to the main form. I've used code similar to the one described in this thread:
http://forum.coresystems.ch/index.php?/topic/4637-move-udf-through-code/page__hl__move+udf__fromsearch__1
but when I change the value in the combobox, the value in the UDF (on the UDF form) is only changed when I click on the UDF form, or if I change the value of another combobox.
So my question is, how can I force the synchronisation between the Combobox on the main form and the UDF combobox on the UDF Form?
Thanks!
DREAN Sébastien
Hi,For this case i use the following code :
[CODE]try
{
Form _udf_ = SwissAddonFramework.UI.Components.Form.GetFormFromType("-" + pVal.Form.Type, 1);
pVal.Form.UDFForm.Update();
}
catch(Exception ex)
{
// Exception occurs when UDF form closed.
}[/CODE]
0
Please sign in to leave a comment.
Comments
0 comments