DefOLELcID, OLELcID
These two properties were added in the 3.0b revision of Visual FoxPro to support multilingual applications. Along with SYS(3004) and SYS(3005), they determine the locale ID used for the user interface of OLE Controls sensitive to this property.
Usage |
frmForm.DefOLELcID = nLocale nLocale = frmForm.DefOLELcID nLocale = oleControl.OLELcID |
Parameter |
Value |
Meaning |
nLocale |
0 |
Use the default OLE Locale ID of the form, or the system default determined with SYS(3004). |
Other |
See the documentation for SYS(3005) for a partial list of acceptable values, or the Windows SDK documentation for more thorough coverage. |
Example |
* Set a form's DefOLELcID to 1036 (French) or 1031 (German). * Add an Outline OCX to the form. * Right-click on the OCX and select 'Properties...' * Note the 'General' tab is labeled 'G�n�ral' or 'Allgemein' * Note, too, that everything else here is in English! * In an international app, store the language properties * in a global application status property, and set the * language of each form on startup. Procedure Form.Load thisform.DefOLELcID = oApp.GlobalSets.DefOLELcID |
See Also |