Back to Devexpress

TdxPDFForm.GetListBoxField(string) Method

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

latest1.5 KB
Original Source

TdxPDFForm.GetListBoxField(string) Method

Returns a list box field by its name on the form.

Declaration

delphi
function GetListBoxField(const AFullName: string): TdxPDFListBoxField;

Parameters

NameTypeDescription
AFullNamestring

The name of a list box on the form.

|

Returns

TypeDescription
TdxPDFListBoxField

The list box 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 list box.

|

Remarks

The TryGetListBoxField function is a safe alternative to GetListBoxField.

See Also

GetField(string)

TdxPDFForm Class

TdxPDFForm Members

dxPDFForm Unit