https://issues.apache.org/ooo/show_bug.cgi?id=121904
Bug ID: 121904
Issue Type: DEFECT
Summary: Esc key does not abort XRangeSelectionListener
Classification: Application
Product: Calc
Version: AOO 3.4.1
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: programming
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
When the user aborts a range selection dialog by hitting Escape, the aborted
routine of
http://www.openoffice.org/api/docs/common/ref/com/sun/star/sheet/XRangeSelectionListener.html
is not triggered.
Any (preset) value is taken as a range selection result even when abort was
intended.
You find a working Basic macro with test routine in the forum:
http://forum.openoffice.org/en/forum/viewtopic.php?f=20&t=60366#p267688 (the
module around function getRangeSelectionAddress and sub test_RangeSelection)
Test it with named parameter sInitial:="A1" and then try to cancel the
selection. You always get the address of cell A1.
Closing the window by the X button works as expected (test routine runs into
var not set error).
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.