This issue came up in my form's header. I stacked these elements in the header section: the header field (Auto_Header0), two horizontal lines (above and below the header), and a command button. It looks like this:
------------lin1------------
hdrFormName | cmdExit...