Component: TPdf · Unit: PDFium
Selects or clears an option in the currently focused combo box or list box
Syntax
function SetFocusedFormOptionSelected(Index: Integer; Selected: Boolean): Boolean;
Remarks
Index is a zero-based option index in the focused choice field
Selected chooses whether the option is selected or cleared
- Returns True when PDFium accepts the update
- Returns False for negative indexes, non-choice fields, unavailable options, or no native focused widget
See Also