Hallo all together,
my problem is the escape from a user dialog in a report.
I've created a dialog window in my report similar to the example on the help side "Report class DialogObject". I've adapted it to my report as a single side dialog and it works, excepted one feature. I can click "OK" and the dialog ends and I can click "Escape" and it also ends.
But how can I read in my report, which button has finalized the dialog?
Therefore I could'nt find any notes in the help side.
I wold be happy if is somebody who can help me.
Many thanks.
Robert Goldenbaum on
Hi,
well, normally you can catch that someone has pressed a button like this:
iDialogTemplate1.PushButton(15, 322, 80, 20, "Standard","buttonStandard");
...
this.buttonStandard_pressed = function(){
INIT_ReadStandardOptions();
this.setBasicValues();
this.enableStandard();
return true;
}
So you should be able to set a global variable and then end the dialog...
BR Robert