Share via


DefOLELCID Property

Specifies the default OLE Locale ID for a form or the main Visual FoxPro window. Available at design time and run time.

Form.DefOLELCID[ = nValue]

Return Value

  • nValue
    Specifies a default OLE Locale ID value for a form or the main Visual FoxPro window. This default value determines the Locale ID for OLE Bound controls and OLE Container controls when they are placed on the form or the main Visual FoxPro window.

Remarks

Applies To: Form Object | _SCREEN System Variable

If the default OLE Locale ID value for a form or the main Visual FoxPro window is changed to a new value, OLE Bound controls and OLE Container controls placed on the form or the main Visual FoxPro window after the new default Locale ID value is in effect use the new value.

If DefOLELCID is set to zero for a form or the main Visual FoxPro window, SYS(3004) determines the default Locale ID for OLE Bound controls and OLE Container controls placed on the form or the main Visual FoxPro window.

See SYS(3005) - Set Locale ID for a listing of Locale IDs.

Note

The DefOLELCID property only affects the language of the user interface, which OLE controls display, and not the language of the Automation commands. The Automation command language is affected only by the Global LocaleID, set with SYS(3005).

See Also

Reference

OLELCID Property

SYS(3005) - Set Locale ID

Other Resources

Events (Visual FoxPro)

Language Reference (Visual FoxPro)