TdxPDFForm.GetListBoxField(string) Method
In This Article
Returns a list box field by its name on the form.
#Declaration
Delphi
function GetListBoxField(const AFullName: string): TdxPDFListBoxField;
#Parameters
Name | Type | Description |
---|---|---|
AFull |
string | The name of a list box on the form. |
#Returns
Type | Description |
---|---|
Tdx |
The list box field with the specified name (AFull |
#Exceptions
Type | Description |
---|---|
EList |
The “Item not found” exception occurs if the form has no field with the specified name (AFull |
EInvalid |
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