Set Last Record Dialog - GRID SENDMSG() Function 86

Syntax

TF$=SENDMSG(sysgui,id,86,0,string{,context{,ERR=lineref}})

Description

This function prompts a data-aware grid control to seek and display the last record in the data channel. During the function's operation, it displays a dialog box that allows the user to cancel. Use the string parameter to change the dialog text.

Parameter

Description

sysgui

SYSGUI channel.

id

Grid control ID.

86

Number of this SENDMSG() function.

0

Always 0.

string

Concatenated string that contains the text for the caption, dialog message, and Cancel button according to the following:

caption$+$00$+message$+$00$+cancel$+$00$

The default message is "Seeking last record. Please wait." The default button text is "Cancel", and the dialog title is blank by default.

The return value is a one-byte string that indicates the success or failure of an operation; $01$ indicates success, $00$ indicates failure.