Just as a quick test (no idea where I'm going with this) but what happens if you SetFocus back to the DOS window just after the form is created, for example:

code:
break on

$frmForm = CreateObject("Kixtart.Form")
$frmForm.Show

$= SetFocus ("Command Prompt")

run "%comspec% /c dir"

? "press a key"

get $x