TIP: Click on subject to list as thread! ANSI
echo: visual_basic
to: All
from: Ps
date: 2004-07-16 21:34:00
subject: Question about sortkey an

I have a listview (ListView1) with 5 items in it.  I have typed in a word
into each of the 5  Listview1.Listitems.Items.tag properties.

Example:

ListView1.Listitems.Items(1).Tag = "Zebras"
ListView1.Listitems.Items(2).Tag = "Cherries"
ListView1.Listitems.Items(3).Tag = "Horse"
ListView1.Listitems.Items(4).Tag = "Apples"
ListView1.Listitems.Items(5).Tag = "Ducks"



MY QUESTION IS: How do I sort (at runtime) the listview items alphabeticaly
depending on the word typed into each of the Listview's  items.tag property?

Since .tag is a property of an item in the listview, shouldnt I be able to
use the listview's SortKey property somehow?
---
þ RIMEGate(tm)/RGXPost V1.14 at BBSWORLD * Info{at}bbsworld.com

---
 * RIMEGate(tm)V10.2áÿ* RelayNet(tm) NNTP Gateway * MoonDog BBS
 * RgateImp.MoonDog.BBS at 7/16/04 9:34:00 PM
* Origin: MoonDog BBS, Brooklyn,NY, 718 692-2498, 1:278/230 (1:278/230)
SEEN-BY: 633/267 270
@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™.