TX Text Control X9 Preview: Out-of-the-Box Context Menus

One
of the new helpful features in the next version X9 of TX Text Control
are the ready-to-use contextual menus we are currently working on. These
dynamic menus are available by default and usable without any
additional programming.

The following steps are required to create
a fully-featured word processing application using TX Text Control that
gives you full access to these new context menus - without writing a
single line of code.

Open Visual Studio and create a new project.

Select Windows Forms Application from the Windows templates, choose a name, select a location and confirm with OK.

Find TextControl in the toolbox and drag and drop an instance onto the form.

Visit the SmartTag in the upper right corner of TextControl and add a button bar, a status bar, a ruler bar and a vertical ruler using the available Wizards. Finally, arrange and connect the controls by clicking Arrange Controls Automatically.

Start the application.

You
can immediately start typing text, use the button bar to do some
formatting or to zoom using the status bar. Here is the new part: You
can right-click everywhere in the document which opens contextual menus
dependent on whether the mouse is over normal text, header or footer
area or in a table.

Context menus for page settings, tables, images and text frames

You can use the context menu to insert headers and footers or to adjust the page layout or borders:

The following screenshot shows a context menu that is shown when no text is selected:

When the input position is inside a table, the following context menu options are available:

There
are many more menu options available for all kind of situations in a
document. The ready-to-use context menus contain pre-defined icons that
matches the icons in our Ribbon demo. You will have access to more than
350 different icons that can be used in your applications.

The context menus are fully customizable and you can add, remove or change menu items from the context menus.

This is just another great new feature of TX Text Control X9. Stay tuned for more!

TX Text Control was originally released in 1991, since then more than 50,000 copies have been sold. Starting off as a single, small DLL, TX Text Control
has made its way through 16-bit DLL and VBX versions to today‘s
Enterprise edition with its .NET and ActiveX components. The recent
addition to the family, TX Text Control .NET Server, offers all of TX Text Control
advanced word processing functionality in an easy-to-use server-side
.NET component. Customers benefit from these years of experience, large
user base, and at the same time, appreciate developing with a mature,
reliable product.