HotPDF Developer Reference
Delphi and C++Builder PDF component help
|
THPDFPage.AddComboBox
|
Methods AcroForm Support |
|
Adds an AcroForm combo box choice field to the current page.
Delphi syntax: procedure AddComboBox(const FieldName, InitialValue: AnsiString; const Options: array of AnsiString; Rectangle: TRect; Flags: THPDFFormFieldFlags = []);
Description The method creates a /Ch field with the Combo flag. Options supplies the visible choices and InitialValue selects the initial value when it matches one of those choices.
See also: AcroForm Support, LastAnnotation |