Difference between revisions of "Lua:createImageList"

From Cheat Engine
Jump to navigation Jump to search
m (Syntax Highlighting.)
m (Added related function template.)
 
Line 28: Line 28:
  
 
{{LuaSeeAlso}}
 
{{LuaSeeAlso}}
 +
 +
{{Creation}}

Latest revision as of 23:50, 26 June 2026

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

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

Basic Visual Controls

Text / Input Controls

Value / Progress Controls

Graphics / Resources

Strings / Streams

Timers / Hotkeys

Scanning / Found Lists

Other Creation Helpers