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]

Property Values

  • 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

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) 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

OLELCID Property | SYS(3005) - Set Locale ID

Applies To: Form | _SCREEN