|
-
Apr 27th, 2002, 09:30 AM
#1
Thread Starter
Hyperactive Member
damn listbox
i got a listbox and everytime i add something to it.. it goes like this: (say it was 'ouch' with a simple increment of 1)
ouch1
ouch2
ouch3
...etc
but, i want it so it goes
ouch3
ouch2
ouch1
so that the latest addition to the list box ends up as the topmost entry, anyway of doing that?
atm ive got the list box to reorder but the method ive tried wont work wen the list1.additem is actually called, infact it goes kinda bonkers
-
Apr 27th, 2002, 09:34 AM
#2
-= B u g S l a y e r =-
sample for u adzzzz 
VB Code:
Private Sub Command1_Click()
Static iCount As Integer
List1.AddItem "Item" & i, 0
iCount = iCount + 1
End Sub
think that is waht u want
-
Apr 27th, 2002, 09:44 AM
#3
Thread Starter
Hyperactive Member
cheers m8! 
* adz heads off to try it
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
|