onContactEditorSave (event)
Description
Event called just before a contact has been saved.
Can be cancelled by returning false.

Parameters
windowHandle number

Return value
success boolean

Example
function onContactEditorSave(windowHandle)
    -- Prevents any contact being saved
    ui.printNotificationError("Contacts are read-only")
    return false
end

Comments
Event is not called when a contact is first added.

See also
onContactEditorSaved

Back
Generated on the 26 June 2024 at 22:01:30 (UK Time)