General Component

Fnd_Gen_GetString

Fnd_Gen_GetString (module; lookup code{; param 1{; param 2...}}) -> Text

Legacy manual page 116

Parameters

ParameterTypeDescription
moduleTextThe module name
lookup codeTextThe lookup code
param 1 .. param 2TextReplacement parameters (optional)
Function ResultTextThe localized string

Description

This routine offers a way to get localized OK and Cancel button for a dialog without requiring Foundation’s Localization component. Pass it the internal string label, and this routine gets the associated string from the 4D application. Optional replacement strings may be passed as parameters 3 through 5. See documentation for Fnd_Loc_GetString for complete description. Here is a list of the labels this command accepts, and the English versions of the associated button labels:

Internal Label Button Label OK OK Cancel Cancel DontSave Don’t Save Stop Stop

$windowTitle_t:=Fnd_Gen_GetString ("Fnd_Rec";"ModWindowTitle")
Extracted source text
            Fnd_Gen_GetString (module; lookup code{; param 1{; param 2...}}) ➔ Text

              Parameter                       Type                  Description
              module                          Text                  The module name
              lookup code                     Text                  The lookup code
              param 1 .. param 2              Text                  Replacement parameters (optional)
              Function Result                 Text                  The localized string

            This routine offers a way to get localized OK and Cancel button for a dialog without requiring
            Foundation’s Localization component. Pass it the internal string label, and this routine gets the associated
            string from the 4D application. Optional replacement strings may be passed as parameters 3 through 5.
            See documentation for Fnd_Loc_GetString for complete description.
            Here is a list of the labels this command accepts, and the English versions of the associated button labels:

              Internal Label                  Button Label
              OK                              OK
              Cancel                          Cancel
              DontSave                        Don’t Save
              Stop                            Stop

              $windowTitle_t:=Fnd_Gen_GetString ("Fnd_Rec";"ModWindowTitle")