To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=84767


User as changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |WONTFIX
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Thu Dec 20 12:47:50 +0000 
2007 -------
AS: It's not mystery ... :-)
a) OK -database and forms frame are organized within a parent-child relation
(true for the XFrame hierarchie)
b) .. but here windows are not related in the same way (not parent child inside
the window hierarchie).
c) Activation/deactivation states are not handled by the framework any longer.
It was obsolete some years ago as VCL decided GrabFocus() called by the
application code will make to much trouble and has to be supressed. So the
frames listen for activation/deactivation states on her windows now ...
d) and exactly those broken window hierarchie will hinder you from making your
forms model the curretn component :-)

Or as short term: CurrentComponent can work only if db and forms live within the
same window AND frames hierarchie.

AS->atjensen: BTW. Using of any API related to the focus (getActiveFrame(),
getCurrentComponent() etcpp) shouldt be supressed. It works sometimes ... but
not always and even not on all platforms in the same way. Its always better to
make thinks more explicit. You can travel the frames hierarchie .. analyzing
controlls/models to find the right (in your example forms) component - and it
will work always.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to