THotPDF.SetFormFieldAdditionalAction Method
THPDFActionBuilder تحت /AA الخاصة بأداة الحقلملخص الطريقة: THotPDF.SetFormFieldAdditionalAction Method
التصريح
procedure SetFormFieldAdditionalAction(const FieldName: AnsiString; Trigger: THPDFFormFieldActionTrigger; Action: THPDFActionBuilder);
وحدة
HPDFDoc
المعاملات
| الاسم | الغرض |
|---|---|
FieldName | Existing AcroForm field name to find in the generated field list |
Trigger | Field additional-action trigger: KeyStroke, Format, Validate, or Calculate |
Action | Action chain built with THPDFActionBuilder |
ملاحظات الاستخدام
EndDoc- يستبدل التابع أي إجراء قائم لنفس مفتاح المحفّز ويبقي بقية مداخل
/AAدون تغيير - استخدم
ClearFormFieldAdditionalActionلإزالة مدخل محفّز واحد للحقل دون إفساد بقية إجراءات الحقل - استخدم المساعدات المسماة في
THotPDFFormFieldActionConvenienceMethodsCall this method after creating the target field and before EndDoc - The method replaces any existing action for the same trigger key and keeps other /AA entries unchanged
- Use ClearFormFieldAdditionalAction to remove one field trigger entry without disturbing other field actions
AttachFieldKeyStrokeAction,AttachFieldFormatAction,AttachFieldValidateAction, orAttachFieldCalculateActionUse AttachFieldKeyStrokeAction, AttachFieldFormatAction, AttachFieldValidateAction, or AttachFieldCalculateAction for the JavaScript-only convenience path
Related API
- THPDFActionBuilderClass
- AcroFormSupport
- THotPDFFormFieldActionConvenienceMethods
- THotPDFAttachFieldKeyStrokeActionMethod