A
Asi BS
Hi,
I managed to create a new ActiveX control in C# for Infopath.
It’s a simple control (True/False) designed for proof of concept.
It seems to be working fine; the data is updating and so are other controls
that are bind to the same field.
Even though I am pretty happy with the result, I have noticed that every
time the
SetValue property is activated a new control is created right after the
OnChanged event is fired, and the old one destroyed. (In that order)
Is it a normal behavior of Infopath or is something wrong with my control?
This problem can cause other, more complex controls to malfunction,
When trying to accrue resources which didn’t released (yet) by the original
control.
Thanks in advance
Asi.
I managed to create a new ActiveX control in C# for Infopath.
It’s a simple control (True/False) designed for proof of concept.
It seems to be working fine; the data is updating and so are other controls
that are bind to the same field.
Even though I am pretty happy with the result, I have noticed that every
time the
SetValue property is activated a new control is created right after the
OnChanged event is fired, and the old one destroyed. (In that order)
Is it a normal behavior of Infopath or is something wrong with my control?
This problem can cause other, more complex controls to malfunction,
When trying to accrue resources which didn’t released (yet) by the original
control.
Thanks in advance
Asi.