OnClick, OnBefore/AfterChange availabale in Infopath add-ins?

R

radub

I'd like to respond to OnClick (for buttons) and/or OnBefore/AfterChange
events happening in random forms from an Infopath 2007 add-in. I couldn't
find a way to sink these events and all the available information describes
creation of event handlers in managed forms.

Any thoughts?

Radu
 
G

Gavin McKay

Hi Radu,

I'm not quite sure what you mean by "random forms", but you can add event
handlers to most elements in InfoPath and write code to handle the event.
There is a list of events that are available on the Microsoft site here:

http://office.microsoft.com/en-us/infopath/HA101734351033.aspx

When it talks about "managed" forms, I believe it is referring to writing
"managed" code which is done using .NET (C#, VB.NET, etc).

Gavin.
 
R

radub

Hi Gavin,
Thank you for your answer!
"Randomness" is a way of describing the fact that I don't want to write
managed code for a particular form (and subsequently I cannot use event
handlers that are binding to specific elements in specific forms). An add-in
has access to application events and document events - but I couldn't find no
way to access OnClick, OnBefore/AfterChange, OnValidate events for this
development model. Hope this explains better my issue

Thx Again
Radu
 
Top