Guest bmaxwell Posted October 7, 2002 Posted October 7, 2002 does anybody know how to make vertical column headers in a listview? Quote
*Gurus* divil Posted October 7, 2002 *Gurus* Posted October 7, 2002 Can you describe what you mean? Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Guest bmaxwell Posted October 7, 2002 Posted October 7, 2002 normally when you use the headers they are horizontal like this: Header 1 | Header 2 | Header 3 I'm trying to make a gradebook application and I need them vertical like this: H | H | H e | e | e a | a | a d | d | d e | e | e r | r | r | | 1 | 2 | 3 Quote
*Gurus* Derek Stone Posted October 7, 2002 *Gurus* Posted October 7, 2002 ListViews don't account for carriage returns (new lines) so you're pretty much out of luck. You might want to look for an alternative to the ListView. Quote Posting Guidelines
Guest bmaxwell Posted October 7, 2002 Posted October 7, 2002 what if I was to do an owner drawn listview...could I maybe put the headers vertical then? Quote
*Gurus* divil Posted October 7, 2002 *Gurus* Posted October 7, 2002 Probably, I wasn't aware the listview supported owner drawing though. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Guest bmaxwell Posted October 8, 2002 Posted October 8, 2002 I don't know about vb6 but I've seen it done in .NET Quote
*Gurus* divil Posted October 8, 2002 *Gurus* Posted October 8, 2002 I knew you could owner draw listboxes in .NET, but not listviews. Got any example urls? Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Guest bmaxwell Posted October 8, 2002 Posted October 8, 2002 this is one of the examples i found, but it's in c#... http://www.codeproject.com/cs/miscctrl/sortedlistview.asp Quote
*Gurus* divil Posted October 8, 2002 *Gurus* Posted October 8, 2002 Thanks. I find C# reads just like VB anyway. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Guest bmaxwell Posted October 8, 2002 Posted October 8, 2002 so can you help me now? or does it just seem hopeless? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.