Re: bug in 4GL-4.10 menus
Posted in 1992
|> From uunet!rmy.emory.edu!informix-list-owner Fri Apr 10 12:22:30 1992 |> From: uunet!ssf.pt!mm (Manuel Monteiro) |> To: informix-list@rmy.emory.edu |> Subject: bug in 4GL-4.10 menus |> |> There's a bug in 4GL (version 4.10) menus. |> Try the following program: |> |> main |> menu "Test" |> command "Aaaaaaaa" |> command "Bbbbbbb" |> command "Ccccc" |> command "Ddddddddddddddddddddddddd" |> command key("n","p") "Pppppppppppppppppppppppppp" "Second page" |> command "Exit" |> exit menu |> end menu |> end main |> |> When you try to move from the first menu page to the next using the |> <down-arrow> key you'll get no response as if you entered an endless loop. You *have* entered an endless loop... ugh. Same behavior in compiled 4GL and RDS. |> This only happens if the first option of the second page has more than |> one response key. I would guess that it would happen on the first option of any page N+1. Also, I found that it does the wrong thing with up arrow (stays on the first page instead of going to the last page). |> Any suggestions to work-around this bug are welcome. If you omit the command string ("Ppppppp...p"), it works OK. If you split the two command keys "n" and "p" into separate options, it doesn't happen. |> Thanks |> MM |> |> PS: I'm running Informix-4GL 4.10 in a DECstation with Ultrix 4.2 |> |> | Manuel Figueiredo Monteiro You were the first user to report this. I've reported it as a bug (bug number 12662, FYI). -- Alan Denney aland@informix.com {pyramid|uunet}!infmx!aland "Yesterday, I got food poisoning. I haven't decided when I'm going to use it." -- Steven Wright