Compartir a través de


OLELCID Property

Contains a numeric value indicating the Locale ID for an OLE Bound control or an OLE Container control. Read-only at design time and run time.

Control.OLELCID

Remarks

The Locale ID value is determined by the value of the DefOLELCID property for the form or the main Visual FoxPro window when an OLE Bound control or an OLE Container control is placed on the form or the main Visual FoxPro window.

If the form or the main Visual FoxPro window's DefOLELCID property is zero when the OLE Bound control or OLE Container control is placed on the form or the main Visual FoxPro window, the control uses the current Visual FoxPro Locale ID (LCID). Use SYS(3004) to determine the current Visual FoxPro Locale ID. Use the DefOLELCID property to specify a Locale ID for a form.

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

Note   The OLELCID 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

DefOLELCID Property | SYS(3005) - Set Locale ID

Applies To: OLE Bound Control | OLE Container Control