Open Tools API information needed
Posted on 2000-05-03
I need to write an expert using the new OTA (Opentools API), but I can't seem to figure out how to start with it, nor can I seem to find a lot of information on the Web. I've got the Delphi 5 Developers Guid which shows a very basic sample on how to create a MenuExpert, but actually I need to have more than that.
What I have to do is to be able to get notified when a component is dropped on a form or when it is renamed. In that case I need to be able to check it's name according to our Company's Naming Conventions.
I have found a sample on the CodeCentral but the sample still uses the old way, and I should use the OTA (which is only for delphi 4 and 5).
I have been able to set up an IOTAIDENotifier which notifies me when a form / datamodule / report gets opened in the editer, but I can't seem to get any further than that. I know that I should have something like a IOTAFormNotifier on which I could implement my code in the ComponentRenamed event, but I can't seem to figure out how to do this.
So, if anybody could help me out, or point me to some good resources concerning the OpenTools API, I would really appreciate it. Anyone who can provide me with valuable information will be rewarded with some points.
Thanks a lot in advance,