From 456d10dfad6d31cecbfcb2add52cdafad33aaf95 Mon Sep 17 00:00:00 2001 From: cxl Date: Tue, 6 May 2014 08:21:42 +0000 Subject: [PATCH] .docs git-svn-id: svn://ultimatepp.org/upp/trunk@7360 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/CtrlLib/src.tpp/ArrayCtrl$en-us.tpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/uppsrc/CtrlLib/src.tpp/ArrayCtrl$en-us.tpp b/uppsrc/CtrlLib/src.tpp/ArrayCtrl$en-us.tpp index 807172370..7317fc878 100644 --- a/uppsrc/CtrlLib/src.tpp/ArrayCtrl$en-us.tpp +++ b/uppsrc/CtrlLib/src.tpp/ArrayCtrl$en-us.tpp @@ -2407,6 +2407,20 @@ exported, [%-*@3 hdr] controls whether header is exported.&] cell.&] [s3; &] [s4;%- &] +[s5;:ArrayCtrl`:`:WhenMouseMove:%- [_^Callback1^ Callback1]<[_^Point^ Point]>_[* WhenMouseM +ove]&] +[s2; Called when mouse moves over the ArrayCtrl or moves out of ArrayCtrl. +The Point`::y is the line number, Point`::x column index. If mouse +moves out of ArrayCtrl, parameter is Null.&] +[s3;%- &] +[s4;%- &] +[s5;:ArrayCtrl`:`:WhenEnterKey:%- [_^Callback^ Callback]_[* WhenEnterKey]&] +[s2; Called when user presses Enter key while focus is in ArrayCtrl, +some line of ArrayCtrl has cursor and Enter key is not `'eaten`' +by another action like accepting the input. When this Callback +is not empty, Enter key is never passed to parent.&] +[s3;%- &] +[s4;%- &] [s5;:ArrayCtrl`:`:WhenBar:%- [_^Callback1^ Callback1]_[* WhenBar]&] [s2; This callback is called whenever the local array menu has to be regenerated. By setting this callback to a different function