Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TOleContainer and Microsoft Word 1

Status
Not open for further replies.

claudeyves

Programmer
Oct 13, 2000
1
CA
While automating Word from Delphi, is it possible to add items to Word menus and toolbars. The function that adds such items asks for the name of a WordBasic macro as the procedure that will be called when the menu item will be clicked.

Does anyone knows how to assign a Delphi procedure to a newly added Word menu item?



[sig][/sig]
 
The best way I've seen to work with custom menu options with Delphi is to use Delphi to create a DLL (which you can do with Delphi). That DLL can 'notice' whether your Delphi App is running, too, so in case you don't want to alter the general operation of Word unless your app is running, you can do that, too. [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top