Dialogs Component

Fnd_Dlg_SetButtons

Fnd_Dlg_SetButtons ({button 1{; button 2{; button 3}}})

Legacy manual page 94

Parameters

ParameterTypeDescription
button 1TextOK button text “or “*” for localized “OK” (optional)
button 2TextCancel button text or “*” for localized “Cancel” (optional)
button 3TextThird button text (optional)

Description

The Fnd_Dlg_SetButtons routine sets the button texts for the upcoming alerts that will be opened by using the routines in this component. The third button is the “Don’t Save” button. Pass values for the OK and Cancel buttons in the button 1 and button 2 parameters. If you pass “*”, the localized version for these buttons will be used. The button 3 parameter sets the text of the third button. If you do not pass a value to button 2 or button 3, these buttons will not be displayed. So, you can create a dialog with one, two, or three buttons. See the Fnd_Dlg_Display routine for a code example.

Extracted source text
            Fnd_Dlg_SetButtons ({button 1{; button 2{; button 3}}})

              Parameter                Type            Description
              button 1                 Text            OK button text “or “*” for localized “OK” (optional)
              button 2                 Text            Cancel button text or “*” for localized “Cancel” (optional)
              button 3                 Text            Third button text (optional)

            The Fnd_Dlg_SetButtons routine sets the button texts for the upcoming alerts that will be opened by
            using the routines in this component. The third button is the “Don’t Save” button.
            Pass values for the OK and Cancel buttons in the button 1 and button 2 parameters. If you pass “*”, the
            localized version for these buttons will be used. The button 3 parameter sets the text of the third button.
            If you do not pass a value to button 2 or button 3, these buttons will not be displayed. So, you can create a
            dialog with one, two, or three buttons.
            See the Fnd_Dlg_Display routine for a code example.