Re: Menu as 1-liner (fwd)
Posted in 1993
From Alan Popiel: <Original Deleted> * I tried to do something similar to your 1-line window, and I was NEVER * able to get it to work quite as I wanted. It appears that the menu * functions of 4GL assume that you will have at least two lines. If you * don't, then they trash your screen in various ways, depending on the * details of your program and environment. * * HOWEVER, since you CAN afford three lines and your window is at the top of * screen, why not try something like the following: * * OPEN WINDOW kleine AT 1,1 WITH 3 ROWS, 79 COLUMNS * DISPLAY "--------------------------------------------------------------" AT 3,1 * * This gives you a "one-edge" border, and still allows two lines for the menu. Also, If you want that "one-edge" border to be a nice solid line, Try: OPEN WINDOW kleine AT 1,1 WITH 3 ROWS, 79 COLUMNS CALL fgl_drawbox(1,79,3,1) DISPLAY " " AT 3,1 DISPLAY " " AT 3,79 Robert Minter |Data Systems Support| \\\\\\_/// Programmer, Software Development | Orange, CA | ( _ _ ) internet: rob@dssmktg.com | Tel: 714.771.0454 | (| ^ |) bangpath: uunet.uu.net!dssmktg!rob| Fax: 714.771.3028 | \\`-'/ Way !!! Shaawiing !! Party On, Wayne !! \\_/