473,748 Members | 2,567 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ListView Question?

38 New Member
I have a listView control attached to form with largeImageList and i need that on hovering the item it's background color get's changed. How to do that?
Sep 14 '13 #1
0 1037

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1632
by: Glenn | last post by:
I'm creating a virtual ListView with C#. I've seen a few code posts stating that a virtual ListView will not work if the View is LargeIcon or SmallIcon. Is this true? My project requires the LargeIcon view style, and so far I've been unable to get the images to display. The text (captions) don't seem to be a problem. My only guess is that the ImageList isn't "really" being set to the ListView, although it does add space for the images....
6
2536
by: Vanessa | last post by:
With this program I can do one selection, but upon the second I get an error where ///////////////// is indicated. Please help. using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data;
4
319
by: Jan | last post by:
How do i get the index of a selected item from a listview, I know how it works for a listbox. But I can't figure it out for a listview? Another newbee question By the way, thx for the answers I allready got on my other newbee questions. You guys must have a lot of petians with me. Thx a lot
1
1434
by: Derck | last post by:
SORRY, for the crosspost, but I think I posted it in the wrong group! Hello all, I have a question.. I am tying to make a global listview class where other listviews in my application points to, so when I change something in that listview all listviews who points to that listview must be updated.. But I don't have a idea why it isn't working.. I tried to make a singeton listview class and get a instance on the form
3
2289
by: SA | last post by:
My listview has 3 columns i.e. name, populaiton, and country code in order. I use following code to insert data into listview and I find that I can't assign which subitem related to related field. e.g. assign population to column2. In vb 6, I can do it by "subitems(i). How about in .net? thx. i = 0 While MyDataAdapter.Read ListView1.Items.Add("") ListView1.Items(i).Text = CStr(MyDataAdapter("name"))...
1
2858
by: Chris | last post by:
Hi all, I posted the following in microsoft.public.dotnet.framework.windowsforms but it seems that group has little traffic. Hi all, I have a listview box which is populated from methods of objects stored in a List<T> collection. The items in this collection are generated from a user filled out form. The items in the listview have the same index as the ones in List<T>, so I
3
2718
by: Jason Huang | last post by:
Hi, In my C# Windows Form MyForm, it has a ListView ListView1. If I click those ListViewItems in ListView1, it's OK; but if I click empty space in ListView1 rather than those ListViewItems, then there will come errors. How do I fix this problem? Thanks for help.
5
2372
by: Martin Horn | last post by:
Hi all, I want to implement a listview with editable subitems and I assume the easiest way is to overlay a textbox over the item to be edited. With this in mind I have come up with: Using fullrowselect=true in the listview Private Sub ListView1_ItemSelectionChanged(ByVal sender As Object, _
0
216
by: scorpion53061 | last post by:
Hi Folks, Hoping someone has done this before as I am a little bit in a crunch of time. I have a listview in which I have added a context menu that displays the option to Filter Data according to the contents of the cell in which they are clicking and to restore the data to the original view that was provided. So for example if they right clicked on a cell that said "Green Bay Beats Seattle" only rows in the listview that have the
1
843
by: baldrick | last post by:
I have a listview that I set to view.details with the following code... With Me.ListView .View = View.Details But when I add the declaration Imports ADOX
0
8832
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9562
Oralloy
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...
1
9333
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,...
0
9254
tracyyun
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...
0
8255
agi2029
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...
0
4608
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...
0
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3319
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
3
2217
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.