Using CheckBoxes, DropDownLists and DatePickers in TX Text Control
TX Text Control is able to process MS Word form fields as they are accessible through the ApplicationField collection. The field type, name and parameters can be modified and processed, but TX Text Control won't display form element controls like a CheckBox or a DropDownList automatically. But TX Text Control offers a rich set of tools to implement these input forms. TX Text Control comes with the DocumentServer namespace that contains the FieldAdapter class. These adapter fields help to…

But TX Text Control offers a rich set of tools to implement these input forms. TX Text Control comes with the DocumentServer namespace that contains the FieldAdapter class. These adapter fields help to process special MS Word fields like FormFields or MergeFields.
We just released a sample that shows how to display CheckBoxes, DropDownLists, DatePickers and TextBoxes for their appropriate fields. In the following screenshots, you can see the different field types:
FormText field:

FormCheckBox field:

FormDropDown field:

Date field:

Download the project in GitHub repository.
Download and Fork This Sample on GitHub
We proudly host our sample code on github.com/TextControl.
Please fork and contribute.
Requirements for this sample
- Visual Studio 2017 or better
- TX Text Control .NET for Windows Forms (trial sufficient)
Related Posts
Create a Table of Contents in Windows Forms using C#
This article explains how to create a table of contents in Windows Forms using the ribbon or programmatically. Creating a table of contents is required to organize large documents.
Official TX Text Control .NET Sample Applications Are Now Hosted on GitHub
This article gives a quick overview of the new repositories, their structure and our plans for the future.
ASP.NETJavaScriptDocument Editor
Detect Toggle Button Changes Using a MutationObserver
This article shows how to detect changes of toggle buttons in the ribbon of the web editor using a MutationObserver. The state of a toggle button in the ribbon visualizes the state of a certain…
Two Ways to Restart Numbered Lists in TX Text Control
In TX Text Control, numbered lists are continued by default and need to be reset when required. There is more than one way if you want to restart numbered lists in a document. In this article, two…
Zoom Tricks: Disabling CTRL + MOUSE WHEEL and More
This article shows how to disable CTRL + MOUSE WHEEL, implement zooming with keyboard and reset the zoom factor to its default value.