代 代码雪儿 Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-26 #1 当弹出信息提示窗口时候,默认的焦点总在“确定”上,如何把焦点转移到“取消”上去呢? ~~~~~~~~~谢谢,,分数不多,因为没有了。。。
张 张无忌 Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-26 #2 MessageBox()有参数可以设置默认按钮的,我在网吧,没办法帮你,自己找MSDN或者找 DELPHI的帮助
D dirk Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-26 #3 Application.MessageBox('','消息',MB_OK+MB_ICONINFORMATION+MB_DEFBUTTON2);
X xianguo Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-26 #4 if Application.MessageBox( 'Could not open Table1 exclusively - Try again?', 'Open Error', MB_OKCANCEL + MB_DEFBUTTON1) <> IDOK then ... 将MB_DEFBUTTON1改为MB_DEFBUTTON2即可...
if Application.MessageBox( 'Could not open Table1 exclusively - Try again?', 'Open Error', MB_OKCANCEL + MB_DEFBUTTON1) <> IDOK then ... 将MB_DEFBUTTON1改为MB_DEFBUTTON2即可...