documentation for Key up event

11 views
Skip to first unread message

Ari Sobel

unread,
Jul 16, 2025, 9:51:49 AMJul 16
to Jam.py Users Mailing List
Hi to all,

regarding 

te below documentation?:

Can anyone give me an example?

I want to turn into uppercase when I hint a specific field.

thanks and 
regards,
Ari

Dean D. Babic

unread,
Jul 16, 2025, 9:09:34 PMJul 16
to Jam.py Users Mailing List
On Demo:

function on_view_form_keyup(item, event) {
    if (event.keyCode === 45 && event.ctrlKey === true){
        if (item.master) {
            item.append_record();
        }
        else {
            item.insert_record();                
        }
    }
    else if (event.keyCode === 46 && event.ctrlKey === true){
        // item.delete_record();
        item.alert('Cannot be deleted on Demo!');
    }
}

Find JS key codes on Google.
Reply all
Reply to author
Forward
0 new messages