Examples: ConfirmAction()

The following example is the command script for the DeleteLead command used for the Leads list in the sample integrating application. The script calls the ConfirmAction() function to verify that the delete action should be performed for the items marked in the list.

local integer tag;

{Get the tag for the "Delete" command}
tag = Command_GetTag(command DeleteLead of form ListObj_Leads);

{Confirm the action before processing}
	true, {Track status} 
	Command_GetStringProperty(tag, COMMAND_PROP_CLEAN_DISPLAY_NAME),
	getmsg(7690) {Delete}) of form ListObj_DropDialogs;

Documentation Feedback