Adds a keyboard sequence to the current page at runtime. The key sequence is only added to the current window. When the page is closed, the keyboard sequence is deleted.
KeySetSeq(sKeySeq, AN, Fn)
The keyboard sequence.
The AN where the keyboard sequence will apply. If you set AN to 0 (zero), the keyboard sequence will apply to all ANs on the page.
The function to call when the keyboard sequence matches. This function needs to be a callback function.
0 (zero) if successful, otherwise an error is returned.
/* Set the key sequence and call the "Callback" function when the sequence is found. */
KeySetSeq("F2 ### Enter", 0, Callback);
! This function is called when the key sequence is found.
! Get user data.