I have a listview that I want to be able to right-click on an item and
delete that row.
I can do this easily, however, I want to only enable the delete menu option
if the mouse pointer is over an actual populated row. Right now, if I right
click in the lower (unpopulated) half of the listview, I can still click
delete. Which seems to automatically delete the first item in the list.
any help is appreciated
Thanks
Charlie 2 1446
Nevermind, got it working now
Charlie
"Charles May" <qu*********@hotmail.comwrote in message
news:mY*****************@newssvr22.news.prodigy.ne t...
>I have a listview that I want to be able to right-click on an item and delete that row.
I can do this easily, however, I want to only enable the delete menu
option if the mouse pointer is over an actual populated row. Right now, if
I right click in the lower (unpopulated) half of the listview, I can still
click delete. Which seems to automatically delete the first item in the
list.
any help is appreciated
Thanks
Charlie
Charles,
For the benefit of the many, /many/ developers who will undoubtedly
follow in your footsteps ... how???
Regards,
Phill W.
Charles May wrote:
Nevermind, got it working now
Charlie
"Charles May" <qu*********@hotmail.comwrote in message
news:mY*****************@newssvr22.news.prodigy.ne t...
>I have a listview that I want to be able to right-click on an item and delete that row.
I can do this easily, however, I want to only enable the delete menu option if the mouse pointer is over an actual populated row. Right now, if I right click in the lower (unpopulated) half of the listview, I can still click delete. Which seems to automatically delete the first item in the list.
any help is appreciated
Thanks
Charlie This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Richard |
last post by:
Hi. I use a ListView to display data in tabular form.
Each ListView row corresponds to a data record.
The ListView Item of the record is the record key or code.
Each SubItem in that row...
|
by: Alan Little |
last post by:
It seems to me I saw something about this once, but I can't find anything
about it now. Is it possible to disable menu items, perhaps with a signed
script?
--
Alan Little
Phorm PHP Form...
|
by: Sameh Ahmed |
last post by:
Hello there
i have a context menu linmked to a listview control.
I want the context mnu to appear ONLY when i right click on an item and not
any place in listview.
any ideas?
Thanks in advance....
|
by: J L |
last post by:
I have a form with a listview on it and a context menu. I handle the
right click event on the listview but after handling the event, the
context menu then appears. I would like to disable it if the...
|
by: Ludwig |
last post by:
My application has a main tool strip menu (File, Options, help,...).
There are also a number of context menu's that popup.
Some main menu items should also be available in some context menu's.
...
|
by: Phill W. |
last post by:
(VB'2003)
What's the correct way to remove multiple, selected items from a
ListView control (say, from a ContextMenu)?
I ask because I'm getting a very annoying ArgumentOutOfRangeException...
|
by: MCM |
last post by:
I'm working on a plotting control. The plotting control will have a context
menu with basic commands for "scaling", "zooming", etc. Is there a way
that, from the parent form, I can add more...
|
by: bz |
last post by:
Hi,
How to start to edit listview items programatically?
I know how to let users edit it by using LabelEdit prop, but I want to
start this from a button or context menu too
Thanks
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |