GUI_DIR_TO_SELECTOR(DIR$,GAD)

DIR$ = Disk directory

Will pas a whole directory of images to a thumbnail selector

Example:

isel.GADGET=GUI_IMAGE_SELECTOR(mywin,10,20,100,100,10,10,1,"Select Image")
 
GUI_DIR_TO_SELECTOR("gfx\myimages\",isel)
 
See also:
 
GUI_IMAGE_TO_SELECTOR - pass 1 image to a selector