Got more questions? Find advice on: SQL | XML | Regular Expressions | Windows
in Search
Welcome to AspAdvice Sign in | Join | Help

TX Text Control

News and interesting articles about the word processing component TX Text Control.

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.TX Text Control X9 in Visual Studio
  • 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.

    TX Text Control X9 in Visual StudioTX Text Control X9 in Visual Studio
  • 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.

    TX Text Control X9 in Visual Studio

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:

TX Text Control X9 in Visual Studio

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

TX Text Control X9 in Visual Studio

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

TX Text Control X9 in Visual Studio

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.
North & South America: Phone: +1 704-370-0110 Phone: +1 877-462-4772 (toll free)
Europe: Phone: +49 (0)421 42 70 67 10
Asia Pacific: Phone: +886 2-2797-8508


Published Monday, February 18, 2013 12:41 AM by Christopher Krause

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS


No Comments

Leave a Comment

Enter the code you see below


This Blog