SetFormFieldTimeFormat

Form fields, actions

Description

Adds matching AFTime_Keystroke and AFTime_Format actions to a form field

Syntax

Function TPDFlib.SetFormFieldTimeFormat(Index: Integer; TimeFormat: TPDFlibFormTimeFormat): Integer;

Return values

Returns 1 on success or 0 when the field is invalid or PDF/A mode is active

Remarks

The typed selector keeps keystroke validation and displayed time formatting on the same 12-hour or 24-hour pattern

See also

TPDFlibFormTimeFormat, SetFormFieldDateFormat