wysota, thanks for the reply.

Your solution works fine. I was trying to copy code used in setting up tabs in a dialog and was not being careful about what I culled.

This is, by far, the most helpful forum I've ever seen. You folks are great!