 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Jinie Guest
|
Posted: Mon Nov 06, 2006 5:43 pm Post subject: ListBox Selecting Item problem |
|
|
MultiSelect property of the Listbox is True and when i move item
up/down in the list with the following code, it does not select the
same item. What else required ?
procedure TForm1.btnUPClick(Sender: TObject);
var
CurIndex : integer;
begin
CurIndex := ListBox1.Itemindex;
ListBox1.items.Move(CurIndex, CurIndex-1);
ListBox1.itemindex := CurIndex-1;
end; |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|