Quantcast
Channel: LiveCode Forums
Viewing all articles
Browse latest Browse all 669

Talking LiveCode • PolyList and Image data

$
0
0
I am trying to use the PolyList widget, however I cannot get the image-data to display.

This is very simple setup... I have a PolyList that only has the item "image" which is set to the content type of "image-data". There are 2 images in the card that I am testing with.

I have the following button set to add the imageData to the Polygrid. The data is in the array, but nothing is being displayed.

CODE:

on mouseUp   put the imageData of image "a1" into tData[1]["image"]   put the imageData of image "a2" into tData[2]["image"]   set the dataContent of widget "PolyList" to tDataend mouseUp
Because the images make the file too large, I can't attach, so here's my test stack: https://u.pc.cd/qsM

Any thoughts as to what I'm missing?

Statistics: Posted by pink — Sun Jul 28, 2024 5:41 pm



Viewing all articles
Browse latest Browse all 669

Trending Articles