|
-
Sep 24th, 2002, 04:33 AM
#1
Thread Starter
Addicted Member
Edit listview in run mode
Might be missing the obvious but how do you get the listview to be editable in run mode??
Many thanks
Wind and waves resolves all problems.
-
Sep 24th, 2002, 04:42 AM
#2
Fanatic Member
How do you mean, editable in run mode? Do you mean some kind of interface to allow a user to add/remove columns and stuff, or do you mean changing the contents of a listview from code at runtime? #2 is pretty easy if that's what you're talking about.
-
Sep 24th, 2002, 04:48 AM
#3
Thread Starter
Addicted Member
Yeah changing the contents - I add a new record to column one and then need to complete the row
Wind and waves resolves all problems.
-
Sep 24th, 2002, 04:50 AM
#4
Thread Starter
Addicted Member
But allow the user to do this through the listview - not the code
Wind and waves resolves all problems.
-
Jan 5th, 2003, 06:47 AM
#5
New Member
Originally posted by Slow_Learner
How do you mean, editable in run mode? Do you mean some kind of interface to allow a user to add/remove columns and stuff, or do you mean changing the contents of a listview from code at runtime? #2 is pretty easy if that's what you're talking about.
I'm very interested in learning that #2, actually...
"Two wrongs won't make one right, but three left does!"
-
Jan 5th, 2003, 07:30 AM
#6
Frenzied Member
I dont think thats possible. I was faced with that problem before. How I did it was use a textbox and a button to change the rows. I'll post an example later.
Dont gain the world and lose your soul
-
Jan 5th, 2003, 12:33 PM
#7
New Member
I figured it out....
Code:
ListParty.Items(index).SubItems(column).Text = "New String"
"Two wrongs won't make one right, but three left does!"
-
Feb 12th, 2003, 02:57 PM
#8
Lively Member
Originally posted by PeeWee
I figured it out....
Code:
ListParty.Items(index).SubItems(column).Text = "New String"
did it work coz i tried and it didnt
-
Feb 13th, 2003, 02:57 AM
#9
Lively Member
Found
Originally posted by PeeWee
I figured it out....
Code:
ListParty.Items(index).SubItems(column).Text = "New String"
HERE THIS WORKS
VB Code:
ListParty.ListItems(Index).SubItems(columnIndex) = "NewString"
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
|