Alternative to "CHOOSE FIELD"

WillieG

New Member
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?
 

dayv2005

Member
If im thinking of the same menu that you are you can use ocx tool bars which creates a nice look and feel to the page.

Or you can do it like how i have in some of our apps here.

Buttons.

<< < > >> (first last next last) then do all your data ones else where such as your delete add save and so forth.

a decent ocx that you may already have is microsoft toolbar control 5.0 - 6.0 ts from the microsoft common control library and is an ocx.

File name for that is MSCOMCTL.OCX
 

WillieG

New Member
Unfortunately we still running Character client from a Unix server, so all the nice goodies from Microsoft is still out of reach, hopefully not for too long.
In the meantime it seems like buttons is the best alternative.
 

dayv2005

Member
Unfortunately we still running Character client from a Unix server, so all the nice goodies from Microsoft is still out of reach, hopefully not for too long.
In the meantime it seems like buttons is the best alternative.


yeah i was thinking about that after i posted that reply but we use buttons in that case.
 
Top