Skip to main content
Version: Next

OBJECT Get keyboard layout

OBJECT Get keyboard layout ( {* ;} object ) -> Function result

ParameterTypeDescription
*Operator🡒If specified, object is an object name (string)If omitted, object is a variable or field
objectForm object🡒Object Name (if * is specified) or Variable or field (if * is omitted)
Function resultString🡐Language code of layout, "" = no layout

Description

The OBJECT Get keyboard layout command returns the current keyboard layout associated with the object(s) designated by the object and * parameters for the current process.

If you pass the optional * parameter, this indicates that the object parameter is an object name (a string). If you do not pass this parameter, this indicates that the object is a variable or a field. In this case, you pass a reference instead of a name.

The command returns a string indicating the language code used, based on RFC3066, ISO639 and ISO3166. For more information, refer to the description of the SET DATABASE LOCALIZATION command.

See also

OBJECT SET KEYBOARD LAYOUT