Back to Devexpress

TdxPDFForm.GetComboBoxField(string) Method

vcl-dxpdfform-dot-tdxpdfform-dot-getcomboboxfield-x28-system-dot-string-x29.md

latest1.5 KB
Original Source

TdxPDFForm.GetComboBoxField(string) Method

Returns a combobox field by its name on the form.

Declaration

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

Parameters

NameTypeDescription
AFullNamestring

The name of a combobox field.

|

Returns

TypeDescription
TdxPDFComboBoxField

The combobox field with the specified name (AFullName).

|

Exceptions

TypeDescription
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

GetField(string)

TdxPDFForm Class

TdxPDFForm Members

dxPDFForm Unit