Reply To: Modal Window Return Values

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

#14109
lfo2vco
lfo2vco
Participant
  • Topics: 23
  • Replies: 145
  • Total: 168
  • ★★

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 4 years, 8 months ago by lfo2vco lfo2vco.
Do NOT follow this link or you will be banned from the site!