Reply To: Modal Window Return Values

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

#14023
atom
Keymaster
    • Topics: 159
    • Replies: 2945
    • Total: 3104
    • ★★★★★
    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
    
    Ctrlr