Click or drag to resize
ObjectEditGuardPreDelete Method
Notification when user is about to delete an object at Options.

Namespace: CTExtensions.Interfaces
Assembly: CTInterface (in CTInterface.dll)
Syntax
public virtual bool PreDelete(
	ctEditGuardObjectType objectType,
	ICTObject poObject,
	long lParentHWND
)

Parameters

objectType
Type: ctEditGuardObjectType
Type of the object
poObject
Type: ICTObject
The object
lParentHWND
Type: SystemInt64
Parent handle for showing dialogs

Return Value

Type: Boolean
Return false to prevent delete.
Availability

CUSTOMTOOLS 2020 SP0


See Also