NEW VERSION 16 Feb 17
New: When using checkboxes and only files are to be returned, only files will display checkboxes. However, if any item is prechecked all items will display checkboxes to indicate the full path - but as before checked folders will only be returned if the UDF has been instructed to do so (+ 16 added to the $iDisplay parameter).
New UDF and examples in zip below.
Previous version descriptions: ChangeLog.txt
I was fed up with using the native FileOp