Reputation: 1957
How do I add my own items to the Delphi Options dialog (Tools\Options)? For example, see the Project JEDI options.
For example it is necessary for me that there there was my bookmark with options of compilation for mine a component and new projects. For example there is at me a new project, in it the panel and on it 3 checkboxes how it there to add?
Upvotes: 2
Views: 483
Reputation: 612914
The key to this are the INTAEnvironmentOptionsServices
and INTAAddInOptions
interfaces. Support for add-ins customising the options dialog was added to the Tools API in XE. Your add-in needs to supply an implementation of INTAAddInOptions
. You register the add-in options by calling INTAEnvironmentOptionsServices.RegisterAddInOptions
.
If you can't work out how to do this from the Tools API source code then I suggest you download the JCL source code to use as your template.
Uwe Schuster's blog article on the subject gives a general overview but I can't find any other articles that cover this topic.
Upvotes: 5