Reply To: Modal Window Return Values

Home Forums General Programming Modal Window Return Values Reply To: Modal Window Return Values

#14109
lfo2vco
Participant
    • Topics: 26
    • Replies: 162
    • Total: 188
    • ★★

    Hi Atom, it seems I have resolved my issue with the Modal Window…

    A silly misunderstanding on my part, which became obvious when I revisited the method. When you instructed me to add ret = modalWindow:runModalLoop() to get the button return values. I added the whole statement to the method.

    This meant that I ended up with

    modalWindow:runModalLoop()
    ret = modalWindow:runModalLoop()

    hence why the buttons required two presses before dismissing the window.

    Amateurs eh!! I realise now that I only needed to add ret =

    Thanks for your patience as always.

    • This reply was modified 10 years, 6 months ago by lfo2vco.

    Here is some noise I organised into an acceptable format:
    https://soundcloud.com/lfo2vco/a-dark-crystal

    Ctrlr