在窗体的keydown事件中取得一个组合键或者其他的键写下如下代码:
if keycode=13 then  取得回车键
me.visible=true 显示 
endif
注意:把窗体的keypreview的属性设置为true