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?
ok
looks like its more serious than that …I cant use the plugin dialog in the WC
Shame cos it was really small and neat.
So I’ll have to design a form to similaute it…