我想在窗体创建的时候,将焦点设置edit上,比如edit叫做name,在from的create里写:name.setfocus;一运行就出错,窗体是showmodel出来的。总是提示:cannot focus a disabled or invisible window.请问我该怎么做!