Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / General / October 2004



Tip: Looking for answers? Try searching our database.

Hide a column in a listview?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Saucer Man - 30 Oct 2004 16:05 GMT
Can I hide a column in a listview?  Currently, I am setting the column width
to 0 but the user can still drag the column open.

Signature

Thanks.

Randy Birch - 30 Oct 2004 16:10 GMT
: Can I hide a column in a listview?

No.

: Currently, I am setting the column width
: to 0 but the user can still drag the column open.

That's about the only way. You can nail it down using subclassing, as shown
on my site, or you can opt to unload/reconfigure the headers/reload the data
if the goal is to produce a control that can either hide or show columns as
the user prefers.

Signature

Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/

: Can I hide a column in a listview?  Currently, I am setting the column width
: to 0 but the user can still drag the column open.
Saucer Man - 30 Oct 2004 16:54 GMT
Thanks.  It's not too big a deal the way it is now so I will leave it.

Signature

Thanks again.

>: Can I hide a column in a listview?
>
[quoted text clipped - 14 lines]
> width
> : to 0 but the user can still drag the column open.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.