Cancels the parent form closing.

Usage

Set_Property(OLECtrlEntID, "OLE.Cancel", Boolean)

Values

[True | False]

Default: False

Remarks

The Cancel property is automatically set to 0 before the OnParentClosing event is fired. If you want to stop the parent form from closing, then setting this property to 1 during the event will prevent it.

See Also

OnParentClosing

  • No labels