columns in listbox
im only asking.. do you know that listbox can contain more than 1 column (like grid)? if you do know, please tell me the code.. coz i kinda need it.. thanks very much
Columns in ListBoxes are created through "tab stops". See the following:
Microsoft MVP (Visual Basic)
You might also consider using a ListView control in Report view:
http://msdn.microsoft.com/library/en...iewcontrol.asp, or simply using a grid control. :-)
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
yeah.. finally i use a sheridan grid.. but i just wanna know whether a listbox can be divided into columns or not.. well, anyway.. thanks a lot
yes, it is possible:
PS I am not very found of the Sheridan controls, they are expensive, you need to learn how to use them, and they need to be distributed with the app. And most of the times they are overkilling.
If you just need multiple columns, you can use the ListBox (with the above code), the ListView (as Phil's suggestions) or a FlexGrid
"There are two ways to write error-free programs. Only the third one works."
By David Hirschfeld in forum ASP.NET
Last Post: 01-05-2003, 12:49 PM
By Lisa in forum VB Classic
Last Post: 11-14-2002, 02:19 PM
By shachar in forum VB Classic
Last Post: 06-22-2002, 03:42 PM
By Traci A Butler in forum .NET
Last Post: 03-26-2002, 11:21 AM
By Randy in forum VB Classic
Last Post: 03-29-2001, 03:47 PM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL