From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Boolean )
aNotificationResponseAction.Destructive = newBooleanValue
BooleanValue = aNotificationResponseAction.Destructive

New in 2020r2

Supported for all project types and targets.

If True, you are indicating that this action is destructive in some way.


A destructive action is one where the user will lose data in a way that isn't reversible or easily reversible.

The captions of destructive actions will be drawn in red. Despite this fact, the caption should make it very clear that the action is destructive.