Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 947 Bytes

NonUndoableActionOK.md

File metadata and controls

35 lines (28 loc) · 947 Bytes

NonUndoableActionOK

Description

Function NonUndoableActionOK displays a dialog informing the user that the action that is about to be performed cannot be undone. If the user selects OK, the function returns TRUE. If the "Show Undo Warnings" preference is turned off, this function just returns TRUE and does not display a dialog.

FUNCTION NonUndoableActionOK : BOOLEAN;
def vs.NonUndoableActionOK():
    return BOOLEAN

Examples

resultOK := NonUndoableActionOK;
import vs

# Function NonUndoableActionOK displays a dialog informing the user that the
# action that is about to be performed cannot be undone.
ok = vs.NonUndoableActionOK()
if ok:
    vs.Message('NonUndoableActionOK succeeded')
else:
    vs.Message('NonUndoableActionOK failed')

Version

Availability: from VectorWorks8.0

Category