Home › Forums › General › Programming › popup menu actions? (how?) › Reply To: popup menu actions? (how?)
September 3, 2017 at 12:40 pm
#72827
For some reason, I can’t paste the correct code inside the “code tags”…
This line:
pMenu:addColouredItem(i, itemNames, Colour(0xff21c630), true, false, Image())
should be:
pMenu:addColouredItem(i, itemNames[ i ], Colour(0xff21c630), true, false, Image())
edit: square brackets and letter “i” don’t work in this forum…