S SoftBoy Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-25 #3 if form2.visible then showmessage('form2是可见的') else showmessage('form2是不可见的');
B blue1999 Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-30 #4 no visible为false和.hide是不同的耶
Z zhihuali Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-30 #5 if Assigned(Form2) then if Form2.Visible then // FORM2 可见 else // FORM2 不可见 else // FORM2 不存在
B BlueGhost Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-30 #7 visiable是不可见啊 不是隐藏………… 那怎么如何判断一个窗体已存在?
B bubble Unregistered / Unconfirmed GUEST, unregistred user! 2002-01-06 #10 to BlueGhost 判断screen的form的classtype
T tan_jian Unregistered / Unconfirmed GUEST, unregistred user! 2002-01-06 #12 IsWindowVisible(xx.handle)
C chw2100 Unregistered / Unconfirmed GUEST, unregistred user! 2002-04-08 #13 用SetWindowPos eg: 如果你不确定FORM1是否隐藏 SetWindowPos(form1.handle,HWND_TOP,0,0,0,0,SWP_NOSIZE OR SWP_NOMOVE OR SWP_SHOWWINDOW); 如果FORM1隐藏了,调用这个函数就可马上SHOW它出来!
用SetWindowPos eg: 如果你不确定FORM1是否隐藏 SetWindowPos(form1.handle,HWND_TOP,0,0,0,0,SWP_NOSIZE OR SWP_NOMOVE OR SWP_SHOWWINDOW); 如果FORM1隐藏了,调用这个函数就可马上SHOW它出来!