Skip to content

Verify_Save_msg - cWebBaseDEOServer

Specifies the message to use for save confirmation

Type: Property
Access: Read/Write
Data Type: Handle
Parameters: None

Syntax

Property Handle Verify_Save_msg
Access Type Syntax
Read Access: Get Verify_Save_msg to HandleVariable
Write Access: Set Verify_Save_msg to HandleVariable/Value

Description

Specifies the message to use for record save confirmation.

The default value is SaveConfirmation.

Sample

This sample sets save confirmation to the default save confirmation message.

Set Verify_Save_Msg to (RefProc(SaveConfirmation))

Sample

This sample turns off the save confirmation.

Set Verify_Save_msg to 0

Sample

This sample sets save confirmation to a custom save confirmation message.

Procedure MySaveConfirmation Handle hmCallBack
    Send ShowYesNo (Self) hmCallBack "Really Save This Record?" "Save Confirmation"
End_Procedure

Set Verify_Save_Msg to (RefProc(MySaveConfirmation))

If you want to change the value of this property from it's class-level default value (for example, to make a particular view not cler after a save), you have to set this property in a data entry object (DEO) or data-aware container (e.g. cWebView) that has an explicit 'Set Server' statement, or the property value will not be used.