Verify_SaveClearCancel_msg - cWebView

Specifies the message to use when closing a view for data loss confirmation that uses the Save/Clear/Cancel option

Type: Property

Access: Read/Write

Data Type: Handle

Parameters: None

Syntax
 Property Handle Verify_SaveClearCancel_msg

Read Access: Get Verify_SaveClearCancel_msg to HandleVariable
Write Access: Set Verify_SaveClearCancel_msg to HandleVariable/Value


Description

Verify_SaveClearCancel_msg specifies the message to use when closing a view for data loss confirmation that uses the Save/Clear/Cancel option.

This is used with drilldown web views, when peChangedViewExitAction is set to cveConfirmSaveClearCancel.

The default value is SaveClearCancelConfirmation.

Sample

This sample sets the save/clear/cancel confirmation to the default message.

Set Verify_SaveClearCancel_msg to (RefProc(SaveClearCancelConfirmation))


Sample

This sample turns off the confirmation.

Set Verify_SaveClearCancel_msg to 0


Sample

This sample sets the confirmation to a custom save/clear/cancel confirmation message.

Procedure MySaveClearCancelConfirmation Handle hmCallBack
        Send ShowYesNoCancel (Self) hmCallBack "So what are you going to do?"  C_$Confirm
End_Procedure

Set Verify_SaveClearCancel_msg to (RefProc(MySaveClearCancelConfirmation))