How to catch a moment when the external editor of TOLEContainer has been closed?

Posted by Andrew on Stack Overflow See other posts from Stack Overflow or by Andrew
Published on 2010-05-21T06:50:24Z Indexed on 2010/05/21 11:00 UTC
Read the original article Hit count: 206

Filed under:
|
|
|

Borland Developer Studio 2006, Delphi:

I have a TOLEContainer object with AllowInPlace=False. When the external editor is closed and changed my OLE object I have to do something with this OLE object inside TOLeContainer.

The problem is I can't catch a moment when the external editor is closed. OnDeactivate event is not working.

Probably I should change the source code of TOLEContainer adding this event myself, but I don't know where is the best place for it.

Can you advice some method?

© Stack Overflow or respective owner

Related posts about delphi

Related posts about ole