To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=52459
Issue #:|52459
Summary:|Mutliple calls to assigned event handler for sub-form
|controls
Component:|Database access
Version:|680m118
Platform:|All
URL:|
OS/Version:|Windows XP
Status:|UNCONFIRMED
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|none
Assigned to:|dbaneedsconfirm
Reported by:|atjensen
------- Additional comments from [EMAIL PROTECTED] Mon Jul 25 11:26:31 -0700
2005 -------
This behavior only happens when the form is created from within a database
document. It does not happen if the form is created directly from writer.
I have a form document with some contols on it and I want to have a macro run
when the user double clicks in one of the controls. I can create a macro such as
In my case at hand it is a grid and I want the user to be able to "drill down"
to a pop form with detail information about the specific row entry.
Code:
sub catchclick( oEv as Object )
if oEv.ClickCount > 1 then
print "hello"
endif
end sub
I assign this macro to the "Mouse Button Released" event of a control.
Now at this point everything happens as I would expect. I get a message box only
when I double click in the specific control.
However, I add a sub-form to my form document and purt some controls on the form
document from the sub-form. Now if I assign the macro to the "Mouse Button
Released" event of one of these controls, then the macro is called once for
every control at the main form level and once for the control at the sub-form
level. Every call to the macro carries, as best as I can tell, the exact same
source object.
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]