Show Update Message - SENDMSG() Function 112 BBj

Syntax

NULL$=SENDMSG(sysgui,id,112,show,$${,context{,ERR=lineref}})

Description

This sendmsg function is for use in an editable data aware grid. It sets the option to display a message box in order to confirm an update for a row of data. If the option is set, when a row has been edited, a message box will appear and ask the user to confirm if they want to save the changes to the row. If the user selects "OK", then the row changes are saved. If the user selects "Cancel", then the changes to the row will be lost. By default the message box does not display.

Parameter

Description

sysgui

SYSGUI channel.

id

Grid Control ID.

112

Number of this SENDMSG() Function.

show

0 = Does not display update message (default).

1 = Displays update message.

The return value is a null string.

SENDMSG() 82 can be used to set the message text. For more information, see Set Continue Message - GRID SENDMSG() Function 82 BBj.