forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Auto scroll update on a list box

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Seffyroff
Newbie


Joined: 08 Apr 2002
Posts: 15

PostPosted: Mon Apr 08, 2002 11:00 am    Post subject: Auto scroll update on a list box Reply with quote

i am using a list box as an output window. Is there any way to make it scroll with the updated messages automatically? at the moment when the number of messages exceeds the length of the list box they continue below the bottom of the box, and you have to manually drag the scrollbar down to see whats going on. Can it scroll down to the bottom of the box automatically somehow?
Back to top
View user's profile Send private message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Mon Apr 08, 2002 12:20 pm    Post subject: Reply with quote

You should be able to focus on the list box and then seek
the last item number and I think it will scroll to that number.

Example:

Dialog focus,List1
If @greater(@count(List1),0)
list seek,list1,@pred(@count(List1))
end

That should work.

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group