adxmxl specifies the number of elements to be found in a left list, a picking box or a selection box.
#-- variable storing the max number of lines of the left list
Integer ADXMXLTMP
#opening of the live table
If !clalev([F:ZMS]): Local File ACTIVE [ACV]: Endif
#opening of the live mask
Local Mask ZMOTSA10 [ZM10]
#definition of the entry box with normal left list
# with three 'list tabs'
Local Inpbox Mask [ZM10]
& Button 'FIN'
& With ''
& Coded 1901
& Titled 'Test Inpbox with Listbox'
& Listbox [ZMS] GAU1
& [F:ZMS]YITMREF Titled 'Product',
& [F:ZMS]YITMDES Titled 'Title'
& Titled 'By title'
& As [INP1]
#-- display of the entry box
#-- and populating of the left list with only 5 records
Boxact [INP1]
ADXMXLTMP = adxmxl
adxmxl = 5
Fillbox [INP1] GAU1
$MENU
#entry of the box
Boxinp [INP1] Using RESU1
Case RESU1
When 1901: Goto FIN
When Default
Endcase
Goto MENU
$FIN
adxmxl = ADXMXLTMP
Close Local Inpbox [INP1]
Close Local Mask [ZM10]
Close File [ZMS]
End
adxmxl is a Safe system variable of class [S]. It contains the number of records to be displayed:
adxmxl is initialized to 250 by the supervisor.
Moreover, in the Object management, adxmxl is initialized by:
These two parameters can be used outside of the supervisor. The LFTBOX parameter is stored in the GNBGAUCHE global variable. The NBCHOOSE parameter is stored in the GNBSEL global variable.