ch_bowen
09-16-2003, 12:45 PM
I want to delegate to a method every time a user uses '<control>' / '<rightarrow>'. I have set up this using an LzDelegate as:
method event="oninit">
del = new LzDelegate(this.colWrapper.columns, "moveColumn" );
LzKeys.callOnKeyCombo(del, ["control", "leftarrow"]);
LzKeys.callOnKeyCombo(del, ["control","rightarrow"]);
LzKeys.callOnKeyCombo(del, ["control", "uparrow"]);
LzKeys.callOnKeyCombo(del, ["control", "downarrow"]);
</method>
However, method moveColumn() only gets called once. If I use the <control>/<shift> keys again, moveColumn() does not get called. Is this a bug?
Thanks
method event="oninit">
del = new LzDelegate(this.colWrapper.columns, "moveColumn" );
LzKeys.callOnKeyCombo(del, ["control", "leftarrow"]);
LzKeys.callOnKeyCombo(del, ["control","rightarrow"]);
LzKeys.callOnKeyCombo(del, ["control", "uparrow"]);
LzKeys.callOnKeyCombo(del, ["control", "downarrow"]);
</method>
However, method moveColumn() only gets called once. If I use the <control>/<shift> keys again, moveColumn() does not get called. Is this a bug?
Thanks