Skip to content

No_Confirmation - cUIObject

Used to cancel a confirmation message

Type: Function
Return Data Type: integer

Syntax

Function No_Confirmation Returns integer

Call Example

Get No_Confirmation to integerVariable

Description

The No_Confirmation function is used to cancel a confirmation message.

DEO usage

This sample shows how to cancel the delete record confirmation message (Delete_Confirmation).

Set Delete_Confirmation to (RefFunc(No_Confirmation))

Defeats delegation to parent. If a confirmation function is not assigned to a DEO's verify property, the DEO will use the message from its parent DEO. For example, a dbForm DEO will use the same verifications that its parent view uses. Normally, this is good. The No_Confirmation message tells the DEO to not use a confirmation prompt and not to use its parent's prompt. This is often needed with the parent View / child grid DEO structure. You want a save confirmation for the single column DEOs in the view and no confirmation for the grid. If you don't assign the grid a Verify_Save_Msg, it will use its parent View's message. You must set the grid's verify message to No_Confirmation.

For a full explanation of the No_Confirmation function, see the Confirm function.

See Also

Confirm

Return Value

Returns 0 if the confirmation is approved, returns non-zero if the process should be halted