Tablefield, Alternatives, Alternative – Kofax DOKuStar Validation User Manual

Page 62

Advertising
background image

DOKuStar Validation Programming Manual

Page

58

TableField

A

TableField

is a special

Field

object. Being derived from

Field

, all

Field’

s properties and methods can be

used. A

TableField

also has some additional properties and methods:

Properties and methods of the

TableField

object (excerpt):

Property/Method

Returns

Description

Row

TableRow

Returns the row object for a given table cell.
Parameter:

Cell As Field

Rows

TableRows

Returns a

TableRows

object, which is the

collection of the tables‘ rows.

To convert a field to a

TableField

object, simply assign:

Private Sub Table_OnFieldActivated(ByVal Field As Field, ByVal PreviousField As Field)
Dim t As TableField
Set t = Field ' convert to TableField
....

Alternatives

Alternatives

is a collection that may be assigned to a field.

The

Alternatives

collection has the same methods and properties as the other collections, e.g

Fields

.

Alternative

Holds a single alternative for a field.

Properties and methods of the

Alternative

object (excerpt):

Property/Method

Returns

Description

SourceInfo

ImageSourceInfo

Holds the

ImageSourceInfo

for this alternative, which consists

of the image and the box.

State

State

State of the alternative. See the

Field

object for a description of

values.

Value

String

Value of the alternative.

Advertising