Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / April 2008

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
radub - 08 Apr 2008 16:22 GMT
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
Gavin McKay - 08 Apr 2008 23:55 GMT
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.
Signature

2B | !2B

> 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
[quoted text clipped - 4 lines]
>
> Radu
radub - 09 Apr 2008 14:06 GMT
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

> Hi Radu,
>
[quoted text clipped - 17 lines]
> >
> > Radu
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.