Imagelist.remove Method [AX 2012]
Removes an image from an image list.
The following example creates an image list, adds the icons in shell32.dll file, and then deletes the fourth member of the list.
Imagelist list = new Imagelist(
Imagelist::iconWidth(),
Imagelist::iconHeight() );
list.loadIcons('shell32.dll');
print list.count();
list.remove(4);
print list.count();
pause;
Community Additions
ADD
Show: