Discussion:
ListItem Edit
(too old to reply)
Mad
2004-01-30 04:25:40 UTC
Permalink
Hello Again;

Q: What is the best Code effective way to prevent a ListItem to be directly
edited on a ListView set to Report.

Thanks to all who replay.
R.Wieser
2004-01-30 11:51:59 UTC
Permalink
Post by Mad
Hello Again;
Hello Mad,
Post by Mad
Q: What is the best Code effective way to prevent a ListItem to be directly
edited on a ListView set to Report.
Have you looked in your VB-help ? Under the "ListView control" ? One of
it's events seems to be "BeforeLabelEdit", which has a "Cancel" argument.
I'm just guessing here, but I think that cancelling your edit-request would
be exactly what it would be doing ... :-)

Regards,
Rudy Wieser
Bob Butler
2004-01-30 14:19:15 UTC
Permalink
Post by Mad
Hello Again;
Q: What is the best Code effective way to prevent a ListItem to be directly
edited on a ListView set to Report.
maybe...
listview1.labeledit = lvwManual
Post by Mad
Thanks to all who replay.
Well, I did read the question twice. I guess that counts <g>

Loading...