473,397 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Hiding a listview column

Hi! It seems that the listview column does not contain an option called
"Hide". Any suggestions to implement such a hiding function excepting
setting the column width = 0?

Thanks.

Aug 3 '07 #1
4 9710
Hi,
Even I found the same scenario with same result! . I didn't found
any other way other than setting width to zero.
Cheryl wrote:
Hi! It seems that the listview column does not contain an option called
"Hide". Any suggestions to implement such a hiding function excepting
setting the column width = 0?

Thanks.
Aug 3 '07 #2
But the user can still alter the column width when the column width is set
to zero... And we can't lock the user from changing the column width...
"Karthik D V" <Ka************@gmail.com???
news:11*********************@q3g2000prf.googlegrou ps.com ???...
Hi,
Even I found the same scenario with same result! . I didn't found
any other way other than setting width to zero.
Cheryl wrote:
>Hi! It seems that the listview column does not contain an option called
"Hide". Any suggestions to implement such a hiding function excepting
setting the column width = 0?

Thanks.
Aug 3 '07 #3
Hi,

"Karthik D V" <Ka************@gmail.comwrote in message
news:11*********************@q3g2000prf.googlegrou ps.com...
Hi,
Even I found the same scenario with same result! . I didn't found
any other way other than setting width to zero.
Same here, width 0 is the only way I have found.
Aug 3 '07 #4
On Fri, 03 Aug 2007 09:43:04 +0200, Cheryl <ju*********@excite.comwrote:
Hi! It seems that the listview column does not contain an option called
"Hide". Any suggestions to implement such a hiding function excepting
setting the column width = 0?

Thanks.

You could just remove that column (and add it later if necessary)

--
Happy coding!
Morten Wennevik [C# MVP]
Aug 3 '07 #5

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

Similar topics

0
by: rmorvay | last post by:
I have successfully integrated sorting in the listview control with the following code: Private Sub ListView_ColumnClick(ByVal sender As Object, ByVal e As...
6
by: VM | last post by:
How can I fill up a listview with text file contents? My listview has two columns and the first column fills up with a while loop: while (myString != null) { myString = sr.Readline();...
1
by: andrewcw | last post by:
The clcik event on the ListView control seems to trigger off the item level ( the first column ). I would like to be able to trap the click event on a particular subitem ( a specific column's row...
5
by: billuy | last post by:
Is there a way to sort by a specified column in a listview? I'd like my users to be able to click on the column heading and have the listview sort by that column. Thanks, Billyb
12
by: Dennis | last post by:
I have a form which has a ListView control named ListView1 added at design time. When I add items using the following code, they don't appear in the list view. However, if I create a ListView...
12
by: J L | last post by:
When I fill a listview, I resize the columns to fit the data. I need to know if the data will fit vertically or if there will be a vertical scroll bar. I need to know this so I can allow for it on...
6
by: Maileen | last post by:
Hi, I have a listview in report mode. I have 3 columns in this listview and 1 column i would like to hide it from user's view. i tried to give width = 0 but user is still able to resize column...
3
by: Martin Panggabean | last post by:
Hello All, I've kind a logic problem ... I want to fill the listView control in VB.NET with data in my mySql table using Datareader object component. But It seems that the way of how listView...
0
by: bharathreddy | last post by:
Hi All, I am using a listview control in my usercontrol so that it can be used in more than one form. This user control has one column extraw, so i want to make it invisible depending on the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
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,...
0
jinu1996
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...
0
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...
0
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...
0
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...

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.