Skip to main content
Version: 20 R7 BETA

OBJECT Get keyboard layout

OBJECT Get keyboard layout ( {* ;} object ) : Text

ParameterTypeDescription
*OperatorIf specified, object is an object name (string)If omitted, object is a variable or field
objectanyObject Name (if * is specified) or Variable or field (if * is omitted)
Function resultTextLanguage 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

Properties

Command number1180
Thread safe