Issue 21025 - forms: wrong focus when vetoing a control change with a Basic script
Summary: forms: wrong focus when vetoing a control change with a Basic script
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC5
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: ---
Assignee: Frank Schönheit
QA Contact: issues@dba
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-10 15:58 UTC by Frank Schönheit
Modified: 2006-05-31 14:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
bug doc (7.05 KB, application/octet-stream)
2003-10-10 15:59 UTC, Frank Schönheit
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Frank Schönheit 2003-10-10 15:58:48 UTC
Open the (to be) attached bug doc. It contains a small form, with some controls
bound to the Bibliography/biblio table.
To the identifier control, there is a veto listener (in Basic) attached, which
denies all values which evaluate to a number greater 10 or less than 1.

When you enter an invalid value into this control, and leave it with the tab
key, then the value is (as expected) denied. *But*, the focus is still move to
another control! It's expected that in case a control value is vetoed, the focus
stays with the control itself.
Without this, you can now (after leaving the control and confirming the
validation message), still commit the record.

This bug makes veto listeners at controls useless.
Comment 1 Frank Schönheit 2003-10-10 15:59:34 UTC
Created attachment 10198 [details]
bug doc
Comment 2 Frank Schönheit 2003-10-10 16:01:30 UTC
argh! Problem located between monitor and chair ...
Comment 3 Frank Schönheit 2003-10-10 16:07:17 UTC
closing duplicate issue
Comment 4 hans_werner67 2004-02-02 12:29:49 UTC
change subcomponent to 'none'