This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
FORM GET ENTRY ORDER
|
FORM GET ENTRY ORDER ( objectNames {; pageNumber | *} ) | ||||||||
Parameter | Type | Description | ||||||
objectNames | Text array |
![]() |
Object names sorted by entry order | |||||
pageNumber | * | Longint, Operator |
![]() |
Number of the page for which to get the defined entry order (current page if omitted), or * to get the actual entry order of the current page |
|||||
The FORM GET ENTRY ORDER command returns in objectNames the sorted names of objects that define the form entry order.
In both cases, if the FORM SET ENTRY ORDER command was not previously called for the current form, the objectNames array is returned empty.
The actual entry order always includes objects from page 0 and from inherited form(s).
Note: The entry order within a subform is not returned when this command is applied to the parent form.
You want to exclude some objects from the current entry order:
ARRAY TEXT($arrTabOrderObject;0)
C_LONGINT($vElem)
FORM GET ENTRY ORDER($arrTabOrderObject;*) //get the actual entry order
Repeat
$vElem:=Find in array($arrTabOrderObject;"vTax@")
If($vElem>0) //exclude objects whose name starts with "vTax" from data entry order
DELETE FROM ARRAY($arrTabOrderObject;$vElem)
End if
Until($vElem<0)
FORM SET ENTRY ORDER($arrTabOrderObject) //apply the new entry order
Product: 4D
Theme: Forms
Number:
1469
Created: 4D v16 R4
4D Language Reference ( 4D v20 R7)