fgl_list_clear()

 

fgl_list_clear() clears combobox items from a list in accordance with the index value associated with each value for the named field.

Usage

This function takes three arguments: field_name, start_index and end_index. The field_name is expressed as a CHAR datatype while the index arguments are both INTEGERS.

The fgl_list_clear() function clears items from the list associated with the named field, from the start_index to end_index and will return a ‘1’ if successful and a ‘0’ in the case of a failure.

If the start_index is set to ‘0’, then all the values in the item list will be cleared.

 

The example showing how to use functions to manipulate comboboxes at runtime is here.