![]() |
||||||
SCR/AL1 - TOME III. Les librairies utilitaires
Syntax
WscrMenuLV(MENU *mn, char sep, int istitle, PAGE *pg, int fld_nb)
Description
Affiche le menu mn sous forme d'une ListView. La fenêtre ListView est indépendante. Elle est placée relativement à la PAGE pg et au champ fld_nb.
Une seule option peut être sélectionnée. Le fait de presser ENTER retourne le numéro de l'option courante. ESCAPE retourne -1.
Exemple
TestLV()
{
int opt;
extern MENU *testmn;
opt = WscrMenuLV(testmn, '|', 1, stp_lpmail, 0);
PG_display_error("Option sélectionnée : %d", opt);
}
Voir également
MN_edit(), MN_create(), MN_auto_create()
Copyright © 1998-2015 Jean-Marc Paul and Bernard PAUL - Envoyez vos remarques ou commentaires à bernard@xon.be