ValidField
Forms, interaction
Description
Checks that an index addresses a usable Widget of the attached library The check requires an attached library, an index of at least 1, a base field within
FormFieldCount, a supported field type between 1 and 6 and a Widget that is currently visible
Temporary Widget indexes are resolved to their base field through
BaseFieldIndex before the field checks run, while the visibility check is applied to the original index
Declaration
function ValidField(FieldIndex: Integer): Boolean;
Parameters
| FieldIndex | Field or temporary Widget index to validate |
|---|
Return value
Returns True when the index addresses a visible, supported field of the attached library, otherwise False
See also
BaseFieldIndex, LibraryInstance, HitTest, FocusField, ValidSelectionUnit