|
by: VR |
last post by:
I have a form with a list view control, a button control
and a main menu with menuDelete item. Any time I am
handling a button click event or menuDelete click event I
call DeleteItem() function which removes the selected item
from the list.
If I right-click on my list, I clone menuDelete item and
display a pop-up menu. So, if user selects Delete item in
the menu, I go through the same logic and remove the
selected item.
|
by: Maheshkumar.R |
last post by:
hi groups,
I have placed an listview control, i want to iterate thru the control and find the clicked event items.
listView2.Items.Add(fname.ToString(), i);
how i can perform the iteration to find the item clicked...? and its item.
thankz--
Mähésh Kumär. R
|
by: Visual Systems AB \(Martin Arvidsson\) |
last post by:
Hi!
I'v been struggeling with removing selected items from a listview.
Anyone that can give me a piece of code that does this?
I am a newbee to this C# and cant figure it out....
Regards
Martin Arvidsson
|
by: Mark |
last post by:
I have basically a 2 part question:
1) is there a way to have a listview that can scroll, but hide the
scrollbars. I know that sounds odd, but this is a touch screen app
and there are "scroll buttons (just command buttons with graphic)"
that go to the next/previous item in the list and that allows the
scrolling. I know they can drag the scroll bar down by touching, but
that causes me a problem when the selected item goes out of view...
|
by: Pucca |
last post by:
How can I tell a mouse right clicks over a listview item that's in a
container panel. I only want to display a popup menu if the user right click
the mouse over an item on the Listview. I don't not want to display this
menu if a node selected on the listview but user right click over the empty
space of the panel that contain the listview.
The problem here is when I use the Listview's Click Event, I don't have ways
to verify if the...
|
|
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
because the ListView seems to be trying to "re-select" items that are no
longer there!
for example, giventhat I have 3 items in my list:
Select the first and remove it - no problem.
|
by: karachiite1 |
last post by:
How can I remove an Item and all its subitems on double_click in a
ListViewControl such a way that I will add the same removed items to three text boxes in a text boxes on the same form. My listview looks like this:
---------------------------------------------
Column1 | Column2| Column3
Item1 |Subitem1| Subitem3 ->double_click->send them to text boxes
---------------------------------------------
|
by: Bart Steur |
last post by:
Hi,
What's the best way to programmaticly select (click) another listview Item
after removing the selected/focused one.
using VB2005 Express.
Thanks
Bart
|
by: =?Utf-8?B?UmF5IE1pdGNoZWxs?= |
last post by:
Hello,
In my application I need to periodically remove all current items from a
ListView and add a new set into it. The following abbreviated code contains
the basic idea:
private void FillListViewFromFile(string path)
{
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|