VACombo
Description
The VACombo combines elements of a text box and a list box. The user may either enter a value or select from a list of options.
Remarks
The VACombo can operate in three distinct modes: field-bound, record list, and index list.
To use this control as a field-bound data control, you assign the VAFieldName property the name of one of the fields in the file specified in the VAccessName property. You can use the AddItem method to populate a field-bound combo box with a list of valid selections for the field.
To use this control in record list mode, set the VARecordList property as True.
Note When using the VARecordList functionality of the VACombo (i.e. VARecordList = True), only one field name may be specified in the SelectedFields property, and that field must be the field indexed in the active key (or one of the fields indexed in a segmented key).
Specifying multiple field names in SelectedFields is not supported. This would result in only the first specified field appearing in the VACombo control.
Specifying a field that is not indexed is not supported. This would result in no data appearing in the VACombo control.
To use the control to populate the list with the indexes defined for the associated file and allow the user to select the current index at run time, set the VAFieldName property to [Index List].
Custom Properties and Methods
Custom properties and methods for this control are listed in the following tables: