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 


Index Follow in List Snipet

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Knowledge Base
View previous topic :: View next topic  
Author Message
Rubes_sw
Valued Contributor
Valued Contributor


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Fri Jul 11, 2003 11:57 am    Post subject: Index Follow in List Snipet Reply with quote

I put this snipt here, cause it works with VDS3, 4 & 5.

If like me you create some programs and add progress or information into a visible list. When you add it is disappears and you have to use the scroll bars to view it.

Heres an automatic thingy:

Code:

if @not(@equal(@count(listname),0))
list seek,listname,@fsub(@count(listname),1)
end


listname = Your list eg. 1,2,3, Table1,bitlist1, combo1 etc etc

If you put this into a timer etc. It will show and highlight the last entry into the list.

Nathan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Fri Jul 11, 2003 11:47 pm    Post subject: Reply with quote

good stuff rubes_sw...although i would not use it in a timer if the user uses the list to do things...because the last item will always be highlighted irrespective of what the user does with the list...it would be ok if the list is simply for display purposes

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Knowledge Base 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