Home List boxes LIST BOX - GET USER DATA (AES 174, 3) LIST BOX - GET INDEX of SELECTED ITEM (AES 174, 5)

2.4.10 LIST BOX - GET FIRST VISIBLE ITEM, SLIDER A (AES 174, 4)

GET FIRST returns the index of the first visible item.

Declaration:
WORD lbox_get_first( LIST_BOX *box );

Call:
first = lbox_get_first( box );
               or
first = lbox_get_afirst( box );

Variable         Argument            Meaning
Inputs:

contrl[0]        174                 lbox_get
contrl[1]        1                   Entries in intin
contrl[3]        1                   Entries in addrin

intin[0]         4                   lbox_get_first

addrin[0]        box                 Pointer to the list box structure

Outputs:

contrl[2]        1                   Entries in intout
contrl[4]        0                   Entries in addrout

intout[0]        first               Index of the first visible item


Home List boxes LIST BOX - GET USER DATA (AES 174, 3) LIST BOX - GET INDEX of SELECTED ITEM (AES 174, 5)