listbox question



If I have a listbox with a list of items, and I want to move an item in the
list to new place, say from listbox1.items[1] and I want to move it to
listbox1.items[5] how do I do it. Ok that much I think I can work out, but
heres the rub. I want to reflect those changes in another listbox. so if I
move an item from position 1 to position 5, I need the change the items in
listbox two also to the same, I cant just say listbox1.items:=
listbox2.items, because they hold different data but it is dependant on the
each other. EG: listbox1.items hold the names of files and listbox2.items
hold the path and name of the file.




.



Relevant Pages

  • Error Runtime 3021 Delete 2 records different tables
    ... I cant figure out this error for the life ... reintailize the listbox to display updated ... Exit Sub ...
    (microsoft.public.access.forms)
  • Re: List Boxes
    ... im getting an error (cant assign to read only ... Dim x As Integer ... ListCount is a read-only property. ... number of items in the ListBox. ...
    (microsoft.public.vb.general.discussion)
  • Re: List Item to uppercase
    ... >>I cant seem to get an Item in a ListBox and convert it to uppercase. ... >>sure this is simple, but I'm missing something. ...
    (alt.comp.lang.borland-delphi)
  • Re: Get list of running SQL servers in a LAN?
    ... I mean that i can see servers in lb1 (listbox) when i run app in W2K, ... cant see any item when i run it in WXP Pro. ...
    (borland.public.delphi.database.ado)
  • Listbox Sorting
    ... i cant seem to get my listbox not to sort the ... i haven't got any sorting in the query that fills the listbox ...
    (microsoft.public.access.formscoding)