Re: Make Listview item labels read only and remove floating menu VB6
- From: "miconus" <pkanold0008@xxxxxxxxxx>
- Date: Sat, 6 Jan 2007 21:02:28 -0500
lvwMylistView.LabelEdit = lvwManual
should do the trick
-OO-
"Edwinah63" <edwinah@xxxxxxxxxxxxxxxxxxx> wrote in message
news:1168127227.061695.269350@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
HI everyone,
I have am currently using VB6 for a project at a client's request (so
no suggestions to move to .net please ;)
I am using the listview control with:
* checkboxes
* multi select
* report view but no column headers so it looks like a listbox
to produce a list of selectable items eg:
chk fish
chk cat
chk dog
where chk stands for the checkbox beside each item in the listview.
My problem is that when a user clicks on the item label beside the
checkbox for example
user clicks on "fish" directly
the label goes into edit mode (exactly the same as for renaming files)
and the user can overwrite the label. Ditto if a user right clicks on
the label a floating menu appears allowing the user to cut, copy or
delete!
While this has not effect on the backend, it is confusing for the
users.
How can I make the item labels in the list view read only and remove
the floating menu?
Thanks in advance.
Edwinah63
.
- References:
- Make Listview item labels read only and remove floating menu VB6
- From: Edwinah63
- Make Listview item labels read only and remove floating menu VB6
- Prev by Date: Make Listview item labels read only and remove floating menu VB6
- Next by Date: How to copy a form without losing ImageList
- Previous by thread: Make Listview item labels read only and remove floating menu VB6
- Next by thread: How to copy a form without losing ImageList
- Index(es):
Relevant Pages
|