|
-
Sep 26th, 2000, 03:57 AM
#1
Thread Starter
Lively Member
how can i delete a specific row from a listview ?
-
Sep 26th, 2000, 04:00 AM
#2
transcendental analytic
Code:
ListView1.ListItems.Remove IndexOfTheRow
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Sep 26th, 2000, 04:12 AM
#3
Thread Starter
Lively Member
thanks, but its not exactly what i had in mind.
maybe still you can help.
i am reading files ftom a folder into listview , i make a refresh on every click on the listview.
so i read the selected item into a textbox
Text1.Text = ListView1.SelectedItem
and at the end of the refresh i do the oposite. take the selected item from the textbox
ListView1.SelectedItem = Text1.Text
at the end of this, it works, but i get two files with this same name
what can i do to fix this ?
-
Sep 26th, 2000, 04:43 AM
#4
transcendental analytic
I'm a bit confused
Looks like you having something for renaming those files?
Maybe you have a listitems.add somwehere?
You should post your code an we'll find out
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|