BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Word + Excel Eventsink works fine but Word->new document ->

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
Ruud Kamphuis
Guest





PostPosted: Thu Jan 22, 2004 10:27 pm    Post subject: Word + Excel Eventsink works fine but Word->new document -> Reply with 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





PostPosted: Sat Jan 24, 2004 9:28 am    Post subject: Re: Word + Excel Eventsink works fine but Word->new document Reply with quote



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





PostPosted: Sat Jan 24, 2004 10:52 am    Post subject: Re: Word + Excel Eventsink works fine but Word->new document Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.