| View previous topic :: View next topic |
| Author |
Message |
kOt Contributor

Joined: 19 Jan 2004 Posts: 89 Location: Fyffe, AL
|
Posted: Tue Feb 28, 2006 6:19 pm Post subject: Question about tables |
|
|
Simple little question. HOPEFULLY simple lil answer
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.  _________________ Visual Dialogscript 5 |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Tue Feb 28, 2006 6:35 pm Post subject: |
|
|
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...
| 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 |
|
 |
kOt Contributor

Joined: 19 Jan 2004 Posts: 89 Location: Fyffe, AL
|
Posted: Tue Feb 28, 2006 6:45 pm Post subject: |
|
|
Thats help me alot. thanks..
Now another question
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..
found answer here _________________ Visual Dialogscript 5 |
|
| Back to top |
|
 |
|