PDA

View Full Version : The decision of a problem with a scrolling ListBox


GAV
12-14-2004, 11:03 AM
Greetings All!
Here result of my experiments. :rolleyes
In an example changing scrolling we change the selected string.
How to make so that at selection of string scrolling varied? :huh
I would be grateful for any help!

GAV
12-14-2004, 11:12 AM
Excuse, has overlooked to attach a file :rolleyes

Stefan_M
12-14-2004, 12:50 PM
Hi GAV,

changed some code in
ListBox1 : On Select

Page1 : On Timer



Hope it helps

Stefan_M

GAV
12-14-2004, 02:11 PM
Stefan_M
It is that, what I need!
Thanks!

PS
1. How to change Position Paragraf?
ListBox is formed dynamically. The number of the lines is the same as the number of the files in my folder. It is possible?
2. The number of the lines (in my example) in the Paragraph (MaxRange) is 14. The Paragraph.GetScrollPos parameter always is less on 5 (in my example = 9). Is it a constantly dependence?
I hope fo the help!

Stefan_M
12-14-2004, 02:35 PM
1. Paragraph.SetScrollPos()
see ListBox Properties: ListBox1 / 'On Select'

2.No, it depends on the size and the number of entries from the paragraph object.


PS: why do you use the combination of the listbox and the paragraph object?


Stefan_M

GAV
12-15-2004, 05:40 AM
why do you use the combination of the listbox and the paragraph object?
I wanted to find a way to change ListBox scrolling... :rolleyes