EditingFieldIndex
表单、交互、数据类型、表单域、查看器交互
描述
只读属性 EditingFieldIndex(位于 TPDFlibFormSession 与 TPDFlibViewer)报告当前文本或选择编辑的基础字段索引,没有编辑进行时返回零。用它可判断哪个字段将接收提交,并区分被编辑的字段与接收输入的部件。
TPDFlibFormSession.EditingFieldIndex
TPDFlibFormSession 的只读属性,保存活动文本或 choice 编辑的基础字段索引
BeginEdit 把它设为所请求部件的基础字段,成功的提交、取消或会话重置会把它清回零
该索引标识存储值的字段,而不是接收输入的个别部件
声明
property EditingFieldIndex: Integer read FEditingFieldIndex;
值
返回正在编辑的基字段索引,没有活动编辑时返回 0
TPDFlibViewer.EditingFieldIndex
TPDFlibViewer 的只读属性,保存当前打开了就地编辑器的表单字段
BeginEditFormField 与焦点字段一起设置它,CommitInplaceEditor 在保存编辑值时读取它,然后清回零
声明
property TPDFlibViewer.EditingFieldIndex: Integer read FEditFieldIndex;
值
返回正在编辑的字段索引,没有打开的就地编辑器时返回 0
另请参阅
BeginEdit, CommitEdit, CancelEdit, BeginEditFormField, CommitInplaceEditor, FocusedFieldIndex, FocusedFormFieldIndex, BaseFieldIndex, EditValue, TPDFlibFormSession, TPDFlibViewer