Hi guys, just wanna ask how do i insert an item to a ListView.
In my list, I added a popup menu and one of the option is an
INSERT option. now when this option is clicked, I need to
insert that item before the selected item.
I am having problems determining the position to where I
will insert the Item....
so far this is what I have....
however, i am having a compile errorCode:pListView->Items->Insert(pListView->Items->Item->Index); pItem->Caption = "INSERT"; for (int j = 1; j <= 10; j++) { pItem->SubItems->Add(0); }
E2193 Too few parameters in call to '_fastcall TListItems::GetItem(int);
I can't figure it out, please help in fixing this problem..
thnx.