Page 1 of 1

ListView edit entry

Posted: Tue Mar 26, 2013 12:21 am
by djrikki
Hi,

At home so consulting the MUI Documentation over on SASG after earlier looking at the MUI Royale documenation, atm I really need to know how to Edit/Amend an Item in a ListView.
Whilst on the same subject is it possible to Delete/Remove an item from a ListView? I don't recall MUIM_List_Remove being in the MUI Royale Documentation.

Do I have to use .InsertPosition first and then remove the .Remove the entry below for example?

So in short... need help here. :roll:

Re: ListView edit entry

Posted: Wed Mar 27, 2013 6:44 pm
by airsoftsoftwair
At home so consulting the MUI Documentation over on SASG after earlier looking at the MUI Royale documenation, atm I really need to know how to Edit/Amend an Item in a ListView. Do I have to use .InsertPosition first and then remove the .Remove the entry below for example?
MUI's Listview doesn't offer a rename method or something like that. It's usually done by fetching a row pointer and then redrawing the whole line. I've now implemented a Listview.Rename() method that does exactly this so you can easily edit/amend items.
Whilst on the same subject is it possible to Delete/Remove an item from a ListView? I don't recall MUIM_List_Remove being in the MUI Royale Documentation.
Check again, it's in the MUI Royale doc :)