SYS(3006) - Set Language and Locale IDs

Sets the Language ID and the Locale ID.

SYS(3006, nLanguageID)

Return Values

Character

Parameters

  • nLanguageID
    Specifies the Language ID.

Remarks

SYS(3006) sets the Visual FoxPro Language ID (LangID), and then sets the Locale ID (LCID) based on the Language ID and the current value of the Sort ID.

Note   Using the DefOLELCID Property is the preferred method for setting a Locale ID for a form or the main Visual FoxPro window.

For additional information about Language, Locale, and Sort IDs, see the Microsoft Windows Software Development Kit documentation.

See Also

DefOLELCID Property | OLELCID Property | SYS(3004) - Return Locale ID | SYS(3005) - Set Locale ID