Dialogs Component

Fnd_Dlg_SetRequest

Fnd_Dlg_SetRequest ({default})

Legacy manual page 96

Parameters

ParameterTypeDescription
defaultTextDefault value (optional)

Description

The Fnd_Dlg_SetRequest routine sets up the dialog to allow the user to enter a value when calling the Fnd_Dlg_Display routine. Call this method with no parameters to cause the request area to be displayed in the dialog:

Fnd_Dlg_SetText ("Enter your password:")

Fnd_Dlg_SetRequest Fnd_Dlg_Display If(OK=1)

$password_t:=Fnd_Dlg_GetRequest

End if

Or pass a text value to display in the request field:

Fnd_Dlg_SetText ("Enter the preferred date:")
Fnd_Dlg_SetRequest (String(Current date))

Fnd_Dlg_Display If(OK=1)

$date_d:=Fnd_Dlg_GetRequest

End if

If you pass “*” to the default parameter, the entry area displays bullets rather than text. This feature is useful for entering passwords.

Fnd_Dlg_SetText ("Enter your password:")
Fnd_Dlg_SetRequest ("*")

Fnd_Dlg_Display If(OK=1)

$password_t:=Fnd_Dlg_GetRequest

End if

Extracted source text
            Fnd_Dlg_SetRequest ({default})

              Parameter                 Type               Description
              default                   Text               Default value (optional)

            The Fnd_Dlg_SetRequest routine sets up the dialog to allow the user to enter a value when calling
            the Fnd_Dlg_Display routine. Call this method with no parameters to cause the request area to be
            displayed in the dialog:
              Fnd_Dlg_SetText ("Enter your password:")
              Fnd_Dlg_SetRequest
              Fnd_Dlg_Display
              If(OK=1)
                $password_t:=Fnd_Dlg_GetRequest
              End if

            Or pass a text value to display in the request field:
              Fnd_Dlg_SetText ("Enter the preferred date:")
              Fnd_Dlg_SetRequest (String(Current date))
              Fnd_Dlg_Display
              If(OK=1)
                $date_d:=Fnd_Dlg_GetRequest
              End if

            If you pass “*” to the default parameter, the entry area displays bullets rather than text. This feature is
            useful for entering passwords.
              Fnd_Dlg_SetText ("Enter your password:")
              Fnd_Dlg_SetRequest ("*")
              Fnd_Dlg_Display
              If(OK=1)
                $password_t:=Fnd_Dlg_GetRequest
              End if