Skip to main content
Answer

How to add a popup windows when printing report?

  • August 2, 2022
  • 5 replies
  • 178 views

Forum|alt.badge.img+1

Hi all,

I want to add a popup notes when print shipment confirmation. Does anyone knows how to use PopupNoteManager here?

 

 

Best answer by markusray17

Yeah that was going to be what I would suggest.

You could also optionally add the ability to cancel the action by using MessageButtons.OKCancel and wrapping it in an if statement. And you may want to check adapter.ExternalCall in case it is being called internally(processing screen, API, etc.).

 

5 replies

Fernando Amadoz
Jr Varsity I
Forum|alt.badge.img+2

Hi @larryly 

Here is a great post done by @gmichaud showing how to leverage the pop up notes in the logic.


Forum|alt.badge.img+1
  • Author
  • Semi-Pro II
  • August 2, 2022

Thanks. @Fernando Amadoz . I saw that and just not good at C#. I can’t find right parameters to fit to the function. He use PopupNoteManager in FieldVerifying with pxcache and event as parameters. It’s different with my case. 


Forum|alt.badge.img+5
  • Jr Varsity II
  • August 2, 2022

Are you trying to add a popup before the printing action is done(that can interrupt it) or just and informational popup that displays after?


Forum|alt.badge.img+1
  • Author
  • Semi-Pro II
  • August 2, 2022

@markusray17 I want to popup the message before open the report. I saw ppowell's question and use different way to popup the message. It works well for me.  Thanks.

 

 


Forum|alt.badge.img+5
  • Jr Varsity II
  • Answer
  • August 2, 2022

Yeah that was going to be what I would suggest.

You could also optionally add the ability to cancel the action by using MessageButtons.OKCancel and wrapping it in an if statement. And you may want to check adapter.ExternalCall in case it is being called internally(processing screen, API, etc.).