Re: Update display array (I4GL)
Posted in 2009
On Thu, Mar 19, 2009 at 4:18 AM, Enrique Ferreyra (Pachu) <eferreyra@gmail.com> wrote: > [Can] anyone [tell] me if in the screen there is only 10 items of a 100 > array, how can i "scroll down" programatically so I can show current > item always? SCROLL UP SCROLL DOWN One of the less well known features of I4GL. I have used it precisely once, to achieve the effect of two columns of data in a single screen array, scrolling up and down by 2 instead of letting I4GL scroll up/down by one, which meant you got weird effects: Initial position: [value1] [value2] [value3] [value4] Using standard I4GL: [value2] [value3] [value4] [value5] Using SCROLL UP BY 2: [value3] [value4] [value5] [value6] The difference is that value4 appears to move up, instead of zig-zagging across the screen, which is disconcerting. -- Jonathan Leffler #include <disclaimer.h> Email: jleffler@earthlink.net, jleffler@us.ibm.com Guardian of DBD::Informix v2008.0513 -- http://dbi.perl.org/ "Blessed are we who can laugh at ourselves, for we shall never cease to be amused." NB: Please do not use this email for correspondence. I don't necessarily read it every week, even.