I know there are differences between the SC and WC - in that the WC keeps going while the SC 'waits' for a dlg to return.
I have read at efw posts but am still confused.......I have the following global function that works perfectly in the SC:
function deleteRecord()
{
application.beep()
var answer = plugins.dialogs.showWarningDialog('Alert','Do you want to delete this record?','Yes','No')
if(answer == "Yes")
{
currentcontroller.deleteRecord()
}
}
Its very neat and I can call it from every form to trap unwanted deletes.......so how do I do the same thing in the WC?
Thanks
Al