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

#14023
atom
atom
Moderator
ret = modalWindow:runModalLoop()

if ret == 1 then
-- i think this is OK button
end
if ret == 0 then
-- this should be cancel
end

-- but it might be the other way around