itemPointer

Typeproperty
Dictionarywidget.polylist
LibraryPolyList
Syntax
set the itemPointer of widget to <integer>
get the itemPointer of widget
Associationscom.livecode.widget.polylist
Summary

It's a pointer to tell the itemContent property about which item to act on.

Example
on mouseUp pButtonNumber
   local tItemContent

   set the itemPointer of widget"PolyList" to 1
   put the itemContent of widget"PolyList" into tItemContent
   put "ok" into tItemContent["icon"]
   set the itemContent of widget"PolyList" to tItemContent
end mouseUp
Description

Use the itemPointer property to tell the itemContent property which item to act on. If itemPointer property has not been defined by the user it will return the item index under the mouse cursor.