ListView edit entry

Discuss GUI programming with the MUI Royale plugin here
Post Reply
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

ListView edit entry

Post 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:
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
airsoftsoftwair
Posts: 5848
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: ListView edit entry

Post 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 :)
Post Reply