epopov
11-17-2003, 07:48 AM
Hi,
I want to instruct the lzKeys service to call the delegate 'delCtrlZ' whenever the 'Ctrl+Z' key combination is pressed.
I try to do this using next code:
delCtrlZ = new LzDelegate(this, "pressCtrlZ" );
LzKeys.callOnKeyCombo(this.delCtrlZ, ["control","z"]);
But lzKeys service calls my delegate only once (on first 'Ctrl+Z' combination).
How to solve this problem?
I want to instruct the lzKeys service to call the delegate 'delCtrlZ' whenever the 'Ctrl+Z' key combination is pressed.
I try to do this using next code:
delCtrlZ = new LzDelegate(this, "pressCtrlZ" );
LzKeys.callOnKeyCombo(this.delCtrlZ, ["control","z"]);
But lzKeys service calls my delegate only once (on first 'Ctrl+Z' combination).
How to solve this problem?