LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

text automatic scroll

hi there

i have a textbox with 35 lines. however, it happens that i print more than
35 lines in the textbox. it's no problem to scroll the textbox at the end
manually (using the scroll bars), but i'd like to do it automatically. but
that does not work. the text box always shows the upper 35 lines.

how can i change this behaviour ?

any help is appreciated

alain
0 Kudos
Message 1 of 3
(2,966 Views)
It's very simple. Get the total count of the list and call
SetControlIndex();

Alain a écrit dans le message : 38b2b114@newsgroups.ni.com...
>
> hi there
>
> i have a textbox with 35 lines. however, it happens that i print more than
> 35 lines in the textbox. it's no problem to scroll the textbox at the end
> manually (using the scroll bars), but i'd like to do it automatically. but
> that does not work. the text box always shows the upper 35 lines.
>
> how can i change this behaviour ?
>
> any help is appreciated
>
> alain
0 Kudos
Message 2 of 3
(2,966 Views)
He asked about a *text box* not a list box. This does not work on a text box. Furthermore, while there is an attribute to set the horizontal scroll for the text box there is none to set the vertical scroll. I too would like to know how to do this.
0 Kudos
Message 3 of 3
(2,966 Views)