| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Listbox question |
On Sun, 23 Jan 2005 01:08:09 +1000, "D & J G"
you typed some letters in random order:
>I have a listbox containing a list of 200 items, alphabetically sorted. The
>user scrolls down to select one and it appears in a text box for editing.
>After editing, it is placed back into the list. Problem is that when the
>item is then included, the list displays from the first item again.
>
>Is there any way to 'remember' where the list had been scrolled down to so
>that it re-appears in the same position, avoiding the need to scroll down
>again to find 'where you're up to'?
>
>TIA
>Don
dim RememberIndex as integer
In the listclick event remember the list1.listindex
RememberIndex = list1.listindex
After re-populating the listbox set the listindex to the one you
remembered
list1.listindex = RememberIndex
>
Groetjenz,
Mickey
--
#### gewoan skrieve su ast ut seist ####
--- UseNet To RIME Gateway {at} 1/22/05 2:31:54 PM ---
* Origin: MoonDog BBS, Brooklyn,NY, 718 692-2498, 1:278/230 (1:278/230)SEEN-BY: 633/267 270 5030/786 @PATH: 278/230 10/345 106/1 2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.