TdxPDFForm.GetComboBoxField(string) Method
In This Article
Returns a combobox field by its name on the form.
#Declaration
Delphi
function GetComboBoxField(const AFullName: string): TdxPDFComboBoxField;
#Parameters
Name | Type | Description |
---|---|---|
AFull |
string | The name of a combobox field. |
#Returns
Type | Description |
---|---|
Tdx |
The combobox 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 combobox. |
#Remarks
The TryGetComboBoxField function is a safe alternative to GetComboBoxField.
See Also