How to make a text box always scroll

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
How to make a text box always scroll

Submitted by Anonymous on Tue, 01/30/2001 - 13:14. Developers
I am developing an appliaction on Motif 1.2 and Motif 1.0 for Sun OS 1.4 that has a scrolled text widget, where varying amounts of text are displayed. This text widget should display the last lines of text entered.On the 1.2 version all is OK. But on the SunOS the text does not scroll automatically, and always displays the top few lines.
How do I make the SunOS version do the same as the Motif 1.2 version?

Thanks,
John.

ICS_support

I don`t know what version the Sun one is, or what the Motif component is really "supposed" to do. What you can certainly do is to reset the cursor position to the last bit of text. See XmNcursorPositionVisible for a start.