All Frameworks  Object Hierarchy  This Framework  Indexes   

SchAppDeleteCheck (Object)

Manage the deletion of a schematic object.

Method Index

AppGetDeleteWarning
Returns the caption and message text to be used as a warning for the delete operation.
AppOkToDeleteWithoutWarning
Reports if a warning message should be issued before deleting the object.

Methods


o 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
 
o 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
 

Copyright © 2003, Dassault Systèmes. All rights reserved.