Changing the ActiveWindow.Caption at startup doesn't stick. IP07/

B

Bob C.

I'm using the following code in the form InternalStartup event (Managed Code
VSTA) and also the FormEvents_Loading event:

Me.Application.ActiveWindow.Caption = "My Cleanup Form"

and it does temporarily display, but as the form finishes loading the name
changes to the value specified in the Submit settings.

What other events get fired that I can use to make my name stick?
 
S

S.Y.M. Wong-A-Ton

If your form template is not browser-compatible, i.e. you are not going to
publish it to Forms Server but fill it out through the InfoPath client
application, then you can put your code in the ContextChanged event (Tools >
Programming > Context Changed Event).
 

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