InfoPath Custom ActiveX Control Clarification.

S

sfindlater

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.

Thanks for your help. Scott.
 
S

Scott At RVC

the solution;

thisXDocument.View.ExecuteAction("xCollection::insert", "group4_6");

Cheers. Scott.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top