>Try this:
>
>ON ERROR DO ErrHandler && If element not found - process the error
>loImage = toImageList.ListImages(lcIconKey)
>ON ERROR
I want to avoid error trapping...
I figured it out with a little more thought. The old reliable TYPE() function did the trick.
IF NOT TYPE("toImageList.ListImages('"+lcIconKey+"')") = 'O'