Lua:createImageList

From Cheat Engine
Revision as of 20:37, 26 June 2026 by Leunsel (talk | contribs) (Syntax Highlighting.)
Jump to navigation Jump to search

<> Lua API Reference

function createImageList(owner OPTIONAL) : ImageList

Creates an ImageList object.

An ImageList stores reusable images for controls such as menus and list views. If owner is omitted, destroy the object yourself when no longer needed.

Function Parameters

Parameter Type Description
owner Component or nil Optional component that owns the image list.

Returns

ImageList — The newly created image list.

Examples

1 local form = createForm()
2 local images = createImageList(form)
3 -- Add or assign images before attaching this ImageList to a control.

Main Pages

Core Lua documentation entry points

Lua
Script Engine