Skip to main content

subItemContent

Type​

property

Summary​

Gets and sets the value of the content of an item in list.

Syntax​

set the subItemContent of widget to <Array>
get the subItemContent of widget

Description​

Use the subItemContent property to get or set the content value of a list sub item. You must use the itemPointer and subItemPointer properties to indicate which item you want to get the data from.

Examples​

on mouseUp pButtonNumber
local tSubItemContent

set the itemPointer of widget"PolyList" to 1
set the subItemPointer of widget"PolyList" to "name"
put the subItemContent of widget"PolyList" into tSubItemContent
put "ok" into tSubItemContent["icon"]
set the subItemContent of widget"PolyList" to tSubItemContent
end mouseUp