SchAppDeleteCheck (Object)

Manage the deletion of a schematic object.

Methods


Sub AppGetDeleteWarning( oCaption, oMessage)
Returns the caption and message text to be used as a warning for the delete operation.
Parameters:
oCaption
Pointer to a CATUnicode string used for the caption of the message box.
oMessage
Pointer to a CATUnicode string used as the warning message.
Example:
 
 Dim objThisIntf As SchAppDeleteCheck
 Dim strVar1 As String
 Dim strVar2 As String
  ...
 objThisIntf.AppGetDeleteWarningstrVar1,strVar2
 
Sub AppOkToDeleteWithoutWarning( oOk)
Reports if a warning message should be issued before deleting the object.
Example:A Logical Line with members cannot be deleted without complications. Its members must also be deleted for model integrity. A Logical Line with members would return FALSE in this case.
Parameters:
oOK
Pointer to the CATBoolean to receive the ok.
Example:
 
 Dim objThisIntf As SchAppDeleteCheck
 Dim bVar1 As boolean
  ...
 objThisIntf.AppOkToDeleteWithoutWarningbVar1