|
-
May 12th, 2000, 06:54 PM
#1
Thread Starter
New Member
Is there anyway to sort the listbox using a different sorting that it's default? Like instead of sorting A, B, C and so on, can I alter it to sort for example A, C, B...?
-
May 12th, 2000, 07:27 PM
#2
transcendental analytic
Making your own sorting order is possible but it will drain performance, why bother?
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
May 26th, 2000, 08:09 PM
#3
Addicted Member
Kedman, I'd have to say your response was not very nice.
Setting the Sorted property to True just doesn't always cut it. Why?
What if you have a list of numbers, and you need them listed numerically? What if you need it sorted backwards? Notice the word NEED. When I was writing a program for a company, I NEEDED for the numbers to be numeric, and yes, while it is incredibly slow and annoying, there was a good reason for it.
-
May 26th, 2000, 11:48 PM
#4
transcendental analytic
Hmm, it was not meant to sound offensive. That was not a retoric qwestion. Well i know you can sort things in other ways but you would need to create your own comparing method, and in vb that would just slow down the soring process considerably. Do you need this solved Concorde?
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|