I have a button to save some process in my APPayments Form.
In this Form i have a Button to generate an XML and set the Payment as "Generated".
When click the button, the process run and set the values.
But... I need a confirmation message on this button:
Ok: run the process normal
Cancel: this option cancel the process to set the "Generated" value
How can i set a confirmation message?
I code in Visual Basic.
Sorry for my english
Hi Florent.
The way the prompt is designed, it should be the last handler in the event, unless you want operations to continue whilst the prompt is open.
I think the docs mention the standard behaviour to avoid confusion.
It will trigger secondary event(s) depending on which button is pressed.
Begin with a GenerateXmlPrompt event which displays the prompt, then does nothing.
Have a GenerateXmlOK event which does the generation, firing that event off OK button in the Prompt.
A GenerateXmlCancel event could be fired if you wanted to do something when the user cancels the operation (though usually on a 'cancel' there would be no follow up actions).
Lee