4D v13.4

OBJECT Get keyboard layout

Home

 
4D v13.4
OBJECT Get keyboard layout

OBJECT Get keyboard layout 


 

OBJECT Get keyboard layout ( {* ;} object ) -> Function result 
Parameter Type   Description
Operator in If specified, object is an object name (string)
If omitted, object is a variable or field
object  Form object in Object Name (if * is specified) or
Variable or field (if * is omitted)
Function result  String in Language code of layout, "" = no layout

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.

Note: This property forces a language script to be taken into account during data entry. You can only use it in ASCII compatibility mode; in Unicode mode, it is ignored.

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.

 
PROPERTIES 

Product: 4D
Theme: Object Properties
Number: 1180

 
INDEX

Alphabetical list of commands

 
HISTORY 

New
Created: 4D v13

 
SEE ALSO 

OBJECT SET KEYBOARD LAYOUT