Image.loadResource Method [AX 2012]
Loads a resource from Ax32.exe.
The following example adds two resources to an image list.
#Resource
Image img;
ImageList imageList;
imageList = new Imagelist(
Imagelist::smallIconWidth(),
Imagelist::smallIconHeight());
img = new Image();
img.loadResource(#RES_NODE_CLOSED);
imageList.add(img);
img = new Image();
img.loadResource(#RES_NODE_OPEN);
imageList.add(img);
Community Additions
ADD
Show: