Hi All.
I am looking to author a few custom ActiveX controls. I have followed the InfoPath team blog how to on C# / ActiveX custom control authoring -
http://blogs.msdn.com/infopath/archive/2005/04/15/408728.aspxI was wondering if someone with experience could clarify my understanding.
How does InfoPath know what control property to use as the value?This is determined soley by the bindingProperty within the ict file. There is no InfoPath GUI menu / property menu to control this binding.
What property bindings can InfoPath handle?InfoPath can only handle a Value and an Enabled property.
Irrespective of what properties are available within the custom ActiveX control, InfoPath is only capable of handling a Value and an Enabled property.
IPropertyNotifySinkWhatever events are declared by the implementation of the IPropertyNotifySink interface;
public interface IPropertyNotifySink
{
int OnChanged(int dispId);
[PreserveSig]
int OnRequestEdit(int dispId);
}
The raising of any of these events will ONLY trigger InfoPath to update the value binding within the XML DOM.
Within InfoPathWithin InfoPath it is NOT possible for managed code to hook into the events raised by the custom ActiveX control.
Cheers. Scott.