4D v14.3FORM GET PARAMETER |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
FORM GET PARAMETER
|
FORM GET PARAMETER ( {aTable ;} form ; selector ; value ) | ||||||||
Parameter | Type | Description | ||||||
aTable | Table |
![]() |
Form table or Default table if this parameter is omitted | |||||
form | String |
![]() |
Form name | |||||
selector | Longint |
![]() |
Code of the parameter | |||||
value | Longint |
![]() |
Current value of the parameter | |||||
The FORM GET PARAMETER command can be used to get the current value of a parameter of the form indicated by aTable and form.
selector indicates the parameter of the form whose value you want to find out. You can use the following constant, found in the “Form Parameters” theme:
Constant | Type | Value |
NonInverted objects | Longint | 0 |
When you use the NonInverted Objects constant as selector, the command returns, in value, the actual display mode of the form in Application mode under Windows. This parameter is used when applications are displayed using "right-to-left" languages. For more information about the support of right-to-left languages, please refer to the Design Reference manual of 4D.
If the command is not called within the context of the Application mode under Windows, it always returns 1.
Keep in mind that the actual inversion of form objects will depend on a combination of several parameters: the values of the “Inversion of objects in Application mode” preference, the value of the “Do not invert objects” form option and the system on which the database is running. The following table specifies the value returned by the FORM GET PARAMETER command depending on the various combinations of these parameters:
Preferences: | Form property: | Right-to-left | Value returned by |
“Inversion of objects | “Do not invert | Display under | FORM GET PARAMETER |
in Application mode” (1) | objects” | Windows | |
No | X | X | 1 |
X | 1 | ||
X | 1 | ||
1 | |||
Automatic | X | X | 1 |
X | 0 | ||
X | 1 | ||
1 | |||
Yes | X | X | 1 |
X | 0 | ||
X | 1 | ||
0 |
(1) This preference can also be set or read using the SET DATABASE PARAMETER and Get database parameter commands.
Product: 4D
Theme: Forms
Number:
969
Created: 4D 2004.4
Renamed: 4D v12
FORM GET PROPERTIES
Get database parameter
SET DATABASE PARAMETER
Langues droite gauche
4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)
Inherited from : GET FORM PARAMETER ( 4D v11 SQL Release 6)