comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Text Widget scrolling in PV-Wave
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Text widget Scrolling [message #37226 is a reply to message #11324] Mon, 08 December 2003 06:56 Go to previous message
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
Andrew Fielding wrote:
> Does anyone know if is possible when using text widgets with the
> scroll keyword to set to keep the scroll bar at the bottom, i.e. so
> that the last line of output text is always on display?
>
> Andrew
Hi,

You will have to get clever with ...

WIDGET_CONTROL, widgetID, set_text_top_line = lineNumberToPutAtTop

This command puts the line you specify at the top of the visible text
widget. It's not too hard, you just have to keep track of the number of
lines in the entire text body and the number of lines visible in the widget.

Ben
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: test
Next Topic: Re: importing variables into iTools programmatically

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 09:34:53 PDT 2025

Total time taken to generate the page: 1.51726 seconds