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 


Question about tables

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


Joined: 19 Jan 2004
Posts: 89
Location: Fyffe, AL

PostPosted: Tue Feb 28, 2006 6:19 pm    Post subject: Question about tables Reply with quote

Simple little question. HOPEFULLY simple lil answer Very Happy

I have a table in my program and i would like to update it every 30s to 5min
the problem i'm having is that every time it updates it resets back at list item 1.
Also i would like to update just 1 or even a couple items in the table (list holds around 50 items).
problem there is it selects each item changes then repeat until done.

So is there a way to update the table (in-background) with out moving the table..
kind of annoying when you only want to view a part of the list and every update is shoots right back up to item 1. Very Happy

_________________
Visual Dialogscript 5
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Tue Feb 28, 2006 6:35 pm    Post subject: Reply with quote

You can't update it at the background, but you can store the current selected item before updating and after updating restore the selected item... Smile

Code:
%%selected = @index(listnamehere)

# Update your list here

if @greater(%%selected,-1)
  list seek,listnamehere,%%selected
end

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
kOt
Contributor
Contributor


Joined: 19 Jan 2004
Posts: 89
Location: Fyffe, AL

PostPosted: Tue Feb 28, 2006 6:45 pm    Post subject: Reply with quote

Thats help me alot. Very Happy thanks..

Now another question Very Happy

What if I have nothing selected (i just scroll down)
how could i get the position of the scrollbar?

OPPS!!.. Should have searched for this one.. Very Happy
found answer here

_________________
Visual Dialogscript 5
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
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