JavaScript Application Programming Interface (API) for AutoCAD
ContentsIndexHome
PreviousUpNext
Acad.TaskDialog.showDeleteConfirmationTaskDialog Function

Autodesk.AutoCAD.js

JavaScript
function Acad.TaskDialog.showDeleteConfirmationTaskDialog(strTitle,strMessage);
Parameters 
Description 
strTitle 
is the string for dialog title. 
strMessage 
is the string for message in the dialog. 

Returns the promise object, then the argument can be used. Success callback returns result in enum Acad.TaskDialogResult.

Shows a task dialog with a confirmation message to delete. This function returns promise pattern result, it has to be call in Promise Pattern with .then(onsuccess, onError) function.

Links
Copyright (c) 2016. All rights reserved.
What do you think about this topic? Send feedback!