sec : U Re: jump to end of a text widget [message #32472] |
Mon, 14 October 2002 16:49  |
Andrew Cool
Messages: 219 Registered: January 1996
|
Senior Member |
|
|
Dominik Paul wrote:
>
> Hi NG,
>
> I created a widget_text and put in some text at the end of the last text
> (/append).
> But it looks a little bit bad, when the size of the widget is at the end and
> the text_widget begins write in the text in the invisible part. If you want
> to read it, you have to scroll down.
>
> Is there a possibility to automatic scroll down to the end of the text?
>
> Thanks
> Dom
Hi Dom,
What you need is Widget_Control, id, Set_Top_Text_Line = n,
where n is the line to be displayed at the top of your text widget.
This will let you scroll the text up so that you can see the newly
appended text at the bottom.
Andrew
------------------------------------------------------------ -----------------
Andrew D. Cool
Electromagnetics & Propagation Group
Intelligence, Surveillance & Reconnaissance Division
Defence Science & Technology Organisation
PO Box 1500, Edinburgh
South Australia 5111
Phone : 061 8 8259 5740 Fax : 061 8 8259 6673
Email : andrew.cool@dsto.defence.gov.au
------------------------------------------------------------ -----------------
|
|
|
Re: U Re: jump to end of a text widget [message #32568 is a reply to message #32472] |
Tue, 15 October 2002 02:47  |
Dominik[1]
Messages: 46 Registered: April 2001
|
Member |
|
|
Hi Andi,
Thanks for helping, its working great. Only one : the keyword is
SET_TEXT_TOP_LINE
and not SET_TOP_TEXT_LINE
Dom
Andrew Cool" <andrew.cool@dsto.defence.gov.au> schrieb im Newsbeitrag
news:3DAB57ED.AD48A8D1@dsto.defence.gov.au...
> Dominik Paul wrote:
>>
>> Hi NG,
>>
>> I created a widget_text and put in some text at the end of the last text
>> (/append).
>> But it looks a little bit bad, when the size of the widget is at the end
and
>> the text_widget begins write in the text in the invisible part. If you
want
>> to read it, you have to scroll down.
>>
>> Is there a possibility to automatic scroll down to the end of the text?
>>
>> Thanks
>> Dom
>
> Hi Dom,
>
> What you need is Widget_Control, id, Set_Top_Text_Line = n,
> where n is the line to be displayed at the top of your text widget.
>
> This will let you scroll the text up so that you can see the newly
> appended text at the bottom.
>
> Andrew
>
>
> ------------------------------------------------------------ --------------
---
> Andrew D. Cool
> Electromagnetics & Propagation Group
> Intelligence, Surveillance & Reconnaissance Division
> Defence Science & Technology Organisation
> PO Box 1500, Edinburgh
> South Australia 5111
>
> Phone : 061 8 8259 5740 Fax : 061 8 8259 6673
> Email : andrew.cool@dsto.defence.gov.au
> ------------------------------------------------------------ --------------
---
|
|
|