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

#14109
lfo2vco
lfo2vco
Participant

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 3 years, 5 months ago by lfo2vco lfo2vco.