Delphi Word add-in / plug-in example with
source code for Word 2016, 2013, 2010, 2007

Add-in Express Toys™ VCL
for Microsoft Word


Add-in Express Toys VCL is a free add-in for Microsoft Word that adds syntax highlight feature. This sample Word addin was designed to show you how to create add-ins, manage their toolbars and controls, and get access to Word objects. The plugin is based on Add-in Express for Office and Delphi VCL, which supports MS Word 2000, 2002 (XP), 2003, 2007, 2010, 2013 and Word 2016.

How Add-in Express can ease creating Word add-ins in Delphi

Add-in Express for Office and Delphi is a VCL class library that allows you to:

  • Create Word Add-ins supported by Word 2016 - 2000.
  • Add your own command bars and controls such as submenus, toolbars, buttons, etc.
  • Control any built-in command bars and their controls including the main menu and pop-ups.
  • Customize the Microsoft Word 2016, 2013, 2010 and 2007 Ribbon UI, build the Quick Access Toolbar and Office Menu for Word 2007 and customize the Backstage View for Office 2010 - 2016. More about customizing Word Ribbon UI.
  • Handle Word events such as BeforeDocumentSave and BeforeDocumentClose.
  • Develop smart tag libraries for Word.

Add-in Express uses the Word.Application object (as an instance of TWordApplication) to provide access to all Word objects and events.

Download sample Word add-in

Add-in Express Toys 2 toolbar

Add-in Express Toys 2 for Word adds to Word a new folder specific toolbar with tree buttons:

The buttons are:

Shows the Add-in Express Toys About window.

Selects a syntax rule for text highlighting.

Highlights the selected text.

Shows the Options dialog box.