Re: Browser attributes

Steve Lamont (
Wed, 12 Feb 97 12:49:58 PST

To subscribers of the xforms list from (Steve Lamont) :

> Is there a browser attribute (or a function i can call) to make a browser
> automatically scroll down to reveal the last line added every time i use
> fl_add_browser_line()?

Don't think so. You can emulate what you wish to do by

lines = fl_get_browser_maxline( browser_obj );
screen_lines = fl_get_browser_screelines( browser_obj );
topline = lines - screen_lines;

if ( topline > 0 )
fl_set_browser_topline( browser_obj, topline );

Sort of a kluge but it should work.

There may have an Off By One error though -- I haven't tested it.

To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: