An object of the TextFormField class represents a text input field on a form. It can be initially empty and it can have a horizontal extension, when it is empty.

Syntax

public class TextFormField : FormField
Public Class TextFormField
  Inherits FormField

Introduced: X18.

Constructors

Constructor Description
TextFormField Initializes a new instance of the TextFormField class.

Methods

Method Description
FormFieldDialog Opens a dialog box to alter the formatting attributes of the form field.
(Inherited from FormField)

Properties

Property Description
DescriptiveText Gets or sets a descriptive text for a form field.
(Inherited from FormField)
EmptyWidth Gets or sets the horizontal extension, in twips, of the form field, when it is empty.
Enabled Gets or set a value indicating whether the form field is enabled.
(Inherited from FormField)

Further Reading

Learn more about the TXTextControl.TextFormField Class in the Text Control Blog: