 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Ruud Kamphuis Guest
|
Posted: Thu Jan 22, 2004 10:27 pm Post subject: Word + Excel Eventsink works fine but Word->new document -> |
|
|
Hi there,
I've made my own plugin via the PaulQualls demo project. I thought it worked
fine but now i see we have a little bug.
When i start Word (MS) and press on a button in the controlbar (my own
button, created by the application) i get my action... But when i press OPEN
/ NEW DOCUMENT the eventsink on that Document losses so i can't click on
that buttons (can click but no action)... When i go back to the first
document it works fine
It's weird because when i start excel and do the same, it works fine.
I really don't know what the problem is so i want to ask you guys..
----------------------------------------------------------------------------
----------------------
Basic explaination:
Start word -> New document automatic created by MS word -> Click on my
button -> Works -> Press NEW DOCUMENT / OPEN DOCUMENT -> Click on my
button -> does not work -> click in taskbar at the first created document ->
button worksfine -> click on last created document -> button does NOT
works! -> big problem :)
----------------------------------------------------------------------------
----------------------
Please help me out.
Thank you all!
Greetz,
Ruud Kamphuis
|
|
| Back to top |
|
 |
Ruud Kamphuis Guest
|
Posted: Sat Jan 24, 2004 9:28 am Post subject: Re: Word + Excel Eventsink works fine but Word->new document |
|
|
Somebody? Please help me.
Dmitry? do you know?
-----------------------------------------
"Ruud Kamphuis" <ruud (AT) phpjunk (DOT) nl> schreef in bericht
news:40104e4d (AT) newsgroups (DOT) borland.com...
| Quote: | Hi there,
I've made my own plugin via the PaulQualls demo project. I thought it
worked
fine but now i see we have a little bug.
When i start Word (MS) and press on a button in the controlbar (my own
button, created by the application) i get my action... But when i press
OPEN
/ NEW DOCUMENT the eventsink on that Document losses so i can't click on
that buttons (can click but no action)... When i go back to the first
document it works fine
It's weird because when i start excel and do the same, it works fine.
I really don't know what the problem is so i want to ask you guys..
--------------------------------------------------------------------------
--
----------------------
Basic explaination:
Start word -> New document automatic created by MS word -> Click on my
button -> Works -> Press NEW DOCUMENT / OPEN DOCUMENT -> Click on my
button -> does not work -> click in taskbar at the first created
document -
button worksfine -> click on last created document -> button does NOT
works! -> big problem :)
--------------------------------------------------------------------------
--
----------------------
Please help me out.
Thank you all!
Greetz,
Ruud Kamphuis
|
|
|
| Back to top |
|
 |
Ruud Kamphuis Guest
|
Posted: Sat Jan 24, 2004 10:52 am Post subject: Re: Word + Excel Eventsink works fine but Word->new document |
|
|
The answer:
If you are using Word 2000 > then you'll have to use TAGS..
Button.tag := 'tagname';
And then it will work!!
--
Greetz
Ruud Kamphuis
-----------------------------------------
"Ruud Kamphuis" <ruud (AT) phpjunk (DOT) nl> schreef in bericht
news:40104e4d (AT) newsgroups (DOT) borland.com...
| Quote: | Hi there,
I've made my own plugin via the PaulQualls demo project. I thought it
worked
fine but now i see we have a little bug.
When i start Word (MS) and press on a button in the controlbar (my own
button, created by the application) i get my action... But when i press
OPEN
/ NEW DOCUMENT the eventsink on that Document losses so i can't click on
that buttons (can click but no action)... When i go back to the first
document it works fine
It's weird because when i start excel and do the same, it works fine.
I really don't know what the problem is so i want to ask you guys..
--------------------------------------------------------------------------
--
----------------------
Basic explaination:
Start word -> New document automatic created by MS word -> Click on my
button -> Works -> Press NEW DOCUMENT / OPEN DOCUMENT -> Click on my
button -> does not work -> click in taskbar at the first created
document -
button worksfine -> click on last created document -> button does NOT
works! -> big problem :)
--------------------------------------------------------------------------
--
----------------------
Please help me out.
Thank you all!
Greetz,
Ruud Kamphuis
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|