Reply To: popup menu actions? (how?)

Home Forums General Programming popup menu actions? (how?) Reply To: popup menu actions? (how?)

#72827
spk77
Participant
    • Topics: 0
    • Replies: 11
    • Total: 11

    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…

    • This reply was modified 6 years, 6 months ago by spk77.
    • This reply was modified 6 years, 6 months ago by spk77.
    Ctrlr