Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxPDFForm.GetComboBoxField(string) Method

Returns a combobox field by its name on the form.

#Declaration

Delphi
function GetComboBoxField(const AFullName: string): TdxPDFComboBoxField;

#Parameters

Name Type Description
AFullName string

The name of a combobox field.

#Returns

Type Description
TdxPDFComboBoxField

The combobox field with the specified name (AFullName).

#Exceptions

Type Description
EListError

The “Item not found” exception occurs if the form has no field with the specified name (AFullName).

EInvalidCast

The “Invalid class typecast” exception occurs if the field with the specified name is not a combobox.

#Remarks

The TryGetComboBoxField function is a safe alternative to GetComboBoxField.

See Also