SETLBOX |
Setlboxpermet d'initialiser une sélection dans une liste de gauche.
Setlboxpermet d'initialiser une ou plusieurs sélections, ou de re-sélectionnerautomatiquement un enregistrement suite à une dé-sélection non autorisée.
Setlbox abrev
Elément | Description | Restrictions |
abrev | Abréviationattribuée à cette boite de picking |
# initialisation : pré-sélection du 1er et dernierenregistrement
# affichage des éléments hiérarchisés
$AFFICHEBOX
Treebox [ZMT] SEL
& [F:ZMT]YITMREF Titled "",
& [F:ZMT]YUOM Titled "",
& [F:ZMT]YITMDES Titled ""
& Sized(160,240)
& Titled "Fenêtre de picking"
& At(40,40)
& As [PIC]
Boxact [PIC]
Fillbox [PIC]
# Pré-sélection du 1er et dernierenregistrement
Read [ZMT] First
Setlbox[PIC]
Read [ZMT] Last
Setlbox[PIC]
Return
# reposionnement d'une sélection ou dé-sélectionsuite à contrôles
$SAIPIC
Boxinp [PIC] Using RESU
Case RESU
When GSTAPIC
Repeat
Pick[PIC]
Casestatus
When 7, 44 : Break
When 37 : Gosub SELECTION
When 41 : Gosub DESELECTION
Endcase
Until 1=0
When GSTAPKF : Goto FIN
When GSTAESC, GSTAFIN : Goto FIN
Endcase
Goto SAIPIC
# dé-sélection si sélection impossible suite àcontrôle
$SELECTION
If ...
Dislbox [PIC]
Endif
Return
# sélection si dé-sélection impossible suite àcontrôle
$DESELECTION
If ...
Setlbox [PIC]
Endif
Return
Setlboxpermet d'initialiser une sélection dans une liste de gauche.
Setlboxpermet d'initialiser une ou plusieurs sélections,ou de re-sélectionnerautomatiquement un enregistrement suite à une dé-sélection non autorisée.
Le traitement fonctionnel associé devra être déclenché manuellement car lasélection ou désélection ne sera pas prise en compte par l'instruction Pick.
|
|
Treebox - Pickbox - Listbox - Pick - Boxact - Fillbox - Currbox - Dislbox
Adonix X3(r) L4G |