# FarListInsert

The FarListInsert structure specifies the settings for insertion of an item into a DI_LISTBOX or DI_COMBOBOX list.

    struct FarListInsert
    {
      int Index;
      struct FarListItem Item;
    };

### Members

Index
Position at which the item is to be inserted. If the position is greater than the count of items in the list, the item is appended to the end of the list. If the position is negative, the item is inserted at the beginning of the list.
Item
Pointer to a FarListItem structure describing the item to insert.

### Remarks

See also:
FarListItem, DM_LISTINSERT, TFarListInsert, Structures