Custom ActiveX Control Clarification. - InfoPath Dev
in

InfoPath Dev

Custom ActiveX Control Clarification.

Last post 06-29-2005 08:04 AM by ScottAtRVC. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 06-29-2005 08:04 AM

    Custom ActiveX Control Clarification.

    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.aspx

    I 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.

    IPropertyNotifySink
    Whatever 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 InfoPath
    Within InfoPath it is NOT possible for managed code to hook into the events raised by the custom ActiveX control.

    Cheers. Scott.
Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.