DisplayYesNoMessageBox Method

The DisplayYesNoMessageBox method displays a Yes/No message box.

Syntax

object.DisplayYesNoMessageBox

(

i_MessageAs String,

i_TitleAs String

) As Boolean

Parameters

Parameter Description

i_Message

Text to display in the message box.

i_Title

Text to put in the title bar of the message box.

Return Value

The return value is TRUE if the user selects Yes; it is FALSE if the user selects No.

Remarks

This method displays a modal dialog and should not be called from a script when a transaction is open. Macros are run within an open transaction; consequently, this method should not be called from a macro. See Accessing Forms Records for more information on this restriction.

See Also

Reference

IGrooveFormsToolUIDelegate Interface
ClearStatusBarMessage Method
DisplayDatePickerDialog Method
DisplayError Method
DisplayOKMessageBox Method
DisplayStatusBarMessage Method
DisplayTextInputDialog Method