Re: Table-driven ring menus
Posted in 1997
MIS Dept <whsmis1@bellsouth.net> wrote: :We're modifying our menu structure for our homegrown Informix code. Instead of creating :a ring menu with all various front-end programs linked into a single executable, we're :looking to split out the various front-ends into separate executables, then create a :table-driven menu structure. While we can make a 'drop down' style menu relatively :easy, we would like to keep the ring menu structure for our user community. Any way to :create a table-driven ring menu? I figure that someone may have already asked this :question, but I could find no reference in the newsgroup archive. In the latest versions of 4GL you can use variables for the commands and messages of a ring menu. In that way you can set up these from a table and display the menu. We do this with fixed size menues (fixed number of choices) to make them easily translatable. If there are a variable number of choices you may have to experiment. May be initializing the unused commands and messages to null would work. Otherwise you may set them to some spesific value and hide them. Due to the syntax of the menu command there is no way to realy have variable number of choices directly. Nils.Myklebust@idg.no NM Data AS, P.O.Box 9090 Gronland, N-0133 Oslo, Norway My opinions are those of my company The Informix FAQ is at http://www.iiug.org