473,592 Members | 2,921 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to set up the listview to high-light one line

hello

how can i set up the listview to high-light one line that is selected by
mouse.now only the first column can be selectable.

thank you.
Jul 21 '05 #1
1 1324
Set its FullRowSelect property to True.

"zbcong" <co********@cap info.com.cn> wrote in message
news:OT******** ******@TK2MSFTN GP11.phx.gbl...
hello

how can i set up the listview to high-light one line that is selected by
mouse.now only the first column can be selectable.

thank you.

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1470
by: Adi Tan via .NET 247 | last post by:
Hi All, I had problem with listview, I am able to sort the columns in listview and after doin the sort, if I try to delete a row from ListView its deleting another row. any help is highly appreciated. Thanks Tan
3
1220
by: Jason Huang | last post by:
Hi, I have no problems in double_clicking on the ListView Item, however, the double_clicking seems doing nothing on the SubItems, and the subitems can't be high lighted. I am wondering what have I done wrong. Any help will be appreciated. Jason
6
4790
by: Dave | last post by:
VB6 has a SorkKey property that you can setup on the ListView control to tell the ListView what column to use for sorting. In .NET there is a Sort() method and a SortOrder property that you can use to manipulate the Sorting property. My question is how do I perform the same functionality as I do in VB6 setting the SortKey and SortOrder with the ListView. Dave
0
1857
by: alcurb | last post by:
I have a ListView control populated with 30 items. ListView height only allows you to see 20 rows at a time. I want to drag an item to the bottom of the list (to the last row), but ListView control doesn't automatically scroll as my mouse leaves the bottom edge of the control. Also if I'm dragging an item from the last row to the top row, ListView doesn't scroll. Please, please, please tell me how to make it scroll while dragging an item....
0
1171
by: James | last post by:
Hi all, I have made a derived Listview which can accept the controls as items in it. Controls that we are using are Buttons in each row and implemented Grouping with the help of controls(label on panel) . Coz Inbuilt listview Grouping not supported in OS like window 98. Although I had used Double buffering (SetStyle(ControlStyles.DoubleBuffer, true); .. in my Listview) but still the listview flickers much when we scroll its items. ...
0
1590
by: James | last post by:
Hi all, I have made a derived Listview in C# .net 1.1 framework, which can accept the controls as items in it. Controls that we are using are Buttons in each row and implemented Grouping with the help of controls(label on panel) . Coz Inbuilt listview Grouping not supported in OS like window 98. Although I had used Double buffering (SetStyle(ControlStyles.DoubleBuffer, true); .. in my Listview) but still the listview flickers much...
2
1443
by: Beus | last post by:
I am making a small adressbook like program. I made a listview which is populated by my user data base. I want the users to be able to select their name on the list and then press the log on button, where after a new form will appeer with their info. now my problem is not how to open the new form nor to make variables. the problem is how do I make the program now what person have been selected on the list?
1
2109
by: Duracel | last post by:
Hi (this is a rephrase of my question from yesterday!), How can I set the size of the thumbnails of a listview in thumbnail mode? I'm owner drawing images from my own cache (i.e. they aren't stored in LargeImageList) but the only way I can see to tell the listview how large I want each thumb to be is by setting the ImageSize property of LargeImageList. Unfortunately, the maximum size for an image in this case is 256 x 256 pixels, but...
0
810
by: JSeemann | last post by:
Hi everyone, I'm having an issue that after days of tweaking continues to bother me. I have a VB application that has a ListView object, with a number of items whose fonts are set based on their priority to the user. The high priority items get bolded, and are meant to stay that way until the user activates them. The fonts are assigned at run-time, using the following type of code: Dim fntFont As Font fntFont = New Font(lvList.Font,...
1
2680
by: ohmmega | last post by:
high! i've created a listviewitem-object with a complete list and add it during runtime into a listview. lvParameters.BeginUpdate(); lvParameters.Items.Clear(); lvParameters.Items.AddRange( ItemList ); lvParameters.EndUpdate(); lvParameters.Invalidate();
0
7935
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7871
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,...
1
7995
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
8227
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...
1
5735
isladogs
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3851
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
3893
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2379
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
0
1202
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.