Helge Kraak wrote:
Hi Fernand,
no, I think what you describe is not reason for the Basic IDE window
opening. I'm not sure if you understood what Frank Schönheit
explicated in my issue. He explains that even though you maybe only
need one of the listener actions a listener interface provides you you
have to include all listener actions in your code.
I did understand, but all over the procedure I install and remove more
than 10 listners and i have to go by deduction which callbacks our
actions are missing
Maybe it's easier to understand when you go to
http://api.openoffice.org/docs/common/ref/com/sun/star/sdb/XRowSetApproveListener.html
. This is the listener interface I'm using. It offers three listener
actions:
1. approveCursorMove
2. approveRowChange
3. approveRowSetChange
I only need approveRowSetChange and so I only included this action.
But this wrong and caused the Basic IDE window to open (for detailed
explanation please read Frank's explanation). Frank's solution was to
also include approveCursorMove and approveRowChange in my code
although I don't need them. So I set both to approveCursorMove=True
and approveRowChange=True. So they work like placeholders as they
never veto any action connected to them but as said, it's necessary to
include them in the code even though you don't use them (because - in
my case - the XRowSetApproveListener is searching for these functions
when an action corresponding to them is happens).
thanks for this very clear explanation
greetz
Fernand
Best regards
Helge
--
Helge Kraak
Frauenlobstr. 78a
60487 Frankfurt am Main
Germany
Mobil: +49 (0)178 828 80 90
Telefon: +49 (0)69 979 466 23
VoIP (SIP): [EMAIL PROTECTED]
Fax: +49 (0)32 22 11 64 788
Email: [EMAIL PROTECTED] / [EMAIL PROTECTED]
Internet: www.helge.kraak.info
Am 17.09.2007 um 19:25 schrieb Fernand Vanrie:
Helge Kraak wrote:
Hi Fernand,
in my case it was a code mistake caused by myself. Please look again
at the issue I linked to and read Frank Schönheits comment. Maybe
you made the same mistake.
Hallo Helge
indeed, iI supose I made also some mistake in implementing a listener.
Using a "modal" dialog" (odialog.execute) makes the basic IDE
ipoping up silently without warnings
Using a "non-modal" dialog (odialog.setvisible(true)) comes up with 2
error message,s poping up in the Basic IDE infact in the basic
module where the erros supose to be, but without any indactions where
its go's wrong
I try to confirm this behavior after further searching where i did
something wrong with a listener
Thanks for your reponses they where helpfull
Fernand
Best
Helge
--Helge Kraak
Frauenlobstr. 78a
60487 Frankfurt am Main
Germany
Mobil: +49 (0)178 828 80 90
Telefon: +49 (0)69 979 466 23
VoIP (SIP): [EMAIL PROTECTED]
Fax: +49 (0)32 22 11 64 788
Email: [EMAIL PROTECTED] / [EMAIL PROTECTED]
Internet: www.helge.kraak.info
Am 14.09.2007 um 09:15 schrieb Fernand Vanrie:
Helge,
Thanks for this information, my problems ar cenrtenlay related to
"listeners" who arent properly removed
I do futher test en come backs with the results
Fernand
Helge Kraak wrote:
Please have look on this issue. Maybe you can file another issue
with your procedure and link to this one:
http://qa.openoffice.org/issues/show_bug.cgi?id=81071
Helge
--Helge Kraak
Frauenlobstr. 78a
60487 Frankfurt am Main
Germany
Mobil: +49 (0)178 828 80 90
Telefon: +49 (0)69 979 466 23
VoIP (SIP): [EMAIL PROTECTED]
Fax: +49 (0)32 22 11 64 788
Email: [EMAIL PROTECTED] / [EMAIL PROTECTED]
Internet: www.helge.kraak.info
Am 13.09.2007 um 18:17 schrieb Fernand Vanrie:
I have a very complex procedure using a Dialog with listeners and
a peer window for showing pictures
for a on nown reason, (was not happening befiore) when I close
the dialog odialog.endexecute I get back at the piont where I
started the Dialog (odialog.execute) but the oo-basic editor
opens a empty basic edito screen and comes in front. of the
document window in fact the same behaviour as I run into a
basic-error but here no module is opened.
When the basic ID is "open" nothing happens and the edito window
stay behind the document window
When using the "set.visible" method and "disposing" the dialog
I do not have this behaviour.
Any idea what can trigger this behaviour ?
Fernand
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--Helge Kraak
Frauenlobstr. 78a
60487 Frankfurt am Main
Germany
Mobil: +49 (0)178 828 80 90
Telefon: +49 (0)69 979 466 23
VoIP (SIP): [EMAIL PROTECTED]
Fax: +49 (0)32 22 11 64 788
Email: [EMAIL PROTECTED] / [EMAIL PROTECTED]
Internet: www.helge.kraak.info
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
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]