Re: listbox question
- From: "chulix@work" <"romualdo[NO_SPAM]"@net4u.hr>
- Date: Tue, 23 Aug 2005 15:17:31 +0200
On Tue, 23 Aug 2005 19:32:27 +1200, anthony wrote:
> 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.
Try looking in Help, everything is there.
ListBox1.Items.Mov(1, 5);
ListBox2.Items.Mov(1, 5);
C
--
I'm Sick And Tired Of Bein' Sick And Tired
.
- References:
- listbox question
- From: anthony
- listbox question
- Prev by Date: Re: Looping thru components
- Next by Date: Re: Looping thru components
- Previous by thread: listbox question
- Next by thread: clipboard local copy
- Index(es):
Relevant Pages
|