No, there were no trailing spaces, but the caption did extent almost the entire length of the title bar. I set the caption in the init of the form. When I removed spaces in middle of the caption the problem was solved. Strange...
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!