listbox as Variable

Hi Everyone
How can i refer a listbox in variable:
Ex.: in a loop through dataset items, i want to split data between five existing listbox base on one datafield result
how can i refer to which listbox populate with a variable as listbox
i have too many item to put (IF) on each items, i want to set the destination listbox at the top, then and refer to it by variable
Maybe “Variable” is not appropriate term for that use… That why i’m asking here
Thanks

https://forum.xojo.com/54022-passing-listbox-name-when-saving-listbox-data
Just store it in a variable of the type Listbox and not of the specific lisbox name.

Thanks Tim… It work great with Extends