Lua:createImageList

From Cheat Engine
Jump to navigation Jump to search

<> 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[edit]

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

Returns[edit]

ImageList — The newly created image list.

Examples[edit]

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

See Also[edit]

Main Pages