PDFFormField object

PDFFormField object is one of the PDF Builder objects, and is derived from PDFVisibleContent and is the ancestor objects of PDFFormFieldCheckBox, PDFFormFieldComboBox, PDFFormFieldListBox, PDFFormFieldPushButton, PDFFormFieldRadioButton, and PDFFormFieldText. PDFFormField is the base object and provides the common properties, events and functions of all the form fields.

To view the full hierarchy of the PDF Builder objects, find "pdfobject" in the Browser, right-click the object, and then select "Show Hierarchy” in the pop-up menu.

Properties

PDFFormField provides the following properties. In addition, it inherits the properties from its parent, PDFVisibleContent.

PDFFormField property

Datatype

Description

BackColor

PDFColor

Gets or sets the back color.

BorderColor

PDFColor

Gets or sets the border color.

BorderStyle

PDFFormFieldBorderStyle

Gets or sets the border style.

ClassDefinition

PowerObject

An object of type PowerObject containing information about the class definition of the object or control.

Display

PDFFormFieldDisplay

Gets or sets the display mode.

FillColor

PDFColor

Gets or sets the fill color (Can be taken as the text color).

Orientation

PDFFormFieldOrientation

Gets or sets the orientation.

LineWidth

Real

Gets or sets the line width of the border.


Events

PDFFormField event

Occurs

Constructor

Immediately before the Open event occurs in the window.

Destructor

Immediately after the Close event occurs in the window.


Functions

PDFFormField provides the following functions.

PDFFormField function

Datatype returned

Description

ClassName

String

Returns the name assigned to the object.

GetContextService

Integer

Creates a reference to a context-specific instance of the specified service.

GetParent

PowerObject

Returns a reference to the name of the parent object.

PostEvent

Boolean

Adds an event to the end of the message queue for the control.

TriggerEvent

Integer

Triggers a specified event in the control and executes the script for the event.

TypeOf

Object

Returns the type of the control.