We use the following code for a strip menu on some table maintenance programs:
DEF VAR vcmenu AS CHAR EXTENT 11 FORMAT "x(11)" INITIAL
["Create","Modify","Delete","First","Last","Next","Prev","Key","Exit"]
NO-UNDO.
...
DISPLAY vcmenu WITH FRAME menu CENTERED NO-LABELS ROW 18 NO-BOX.
CHOOSE FIELD vcmenu AUTO-RETURN FRAME menu.
.....
I know this is an ancient way of programming, and I need to refresh our code a bit. What would be the best to replace this code with?
Should I replace this with buttons or are there anything else that can be used?
DEF VAR vcmenu AS CHAR EXTENT 11 FORMAT "x(11)" INITIAL
["Create","Modify","Delete","First","Last","Next","Prev","Key","Exit"]
NO-UNDO.
...
DISPLAY vcmenu WITH FRAME menu CENTERED NO-LABELS ROW 18 NO-BOX.
CHOOSE FIELD vcmenu AUTO-RETURN FRAME menu.
.....
I know this is an ancient way of programming, and I need to refresh our code a bit. What would be the best to replace this code with?
Should I replace this with buttons or are there anything else that can be used?