Is there any way to I check if a user has pressed the cancel button in a dialog ?
My current code is:
dlg.open('Waiting for PDF-Printer @1@@@@@');
repeat
counter := counter + 1;
dlg.update(1, counter);
until exists(filename) or counter > 9999;
dlg.close
.... // do something with PDF-File i
i dont know, how to check the cancel button, but you can design a form, that do this ...
just start this form with runmodal and check the return value, with the timer trigger you can close the form too.
Comments
just start this form with runmodal and check the return value, with the timer trigger you can close the form too.
mfg
speedy