你可以覆盖表单控件箱事件吗? [英] Can you override a forms controlbox events?

查看:53
本文介绍了你可以覆盖表单控件箱事件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个退出例程,当用户从菜单中选择退出时运行或

通过单击表单右上角的X关闭表单(在

控制箱上)。


退出例程中的一个选项是取消表格的结束

(即哎呀我不是故意点击那个..)。我如何取消此活动?

解决方案

|退出例程中的一个选项是取消表格的结束

| (即oops我不是故意点击那个..)。我怎么取消这个活动?


哦是的......那将是...... RTFM


嗯?


" steve" < a@bc.com>在消息新闻中写道:wE ***************** @ fe03.lga ...

|退出例程中的一个选项是取消关闭表格
| (即oops我不是故意点击那个..)。我如何取消这个
活动?

哦是的......那将是... RTFM


"史蒂夫" < a@bc.com> schrieb:

|退出例程中的一个选项是取消关闭表格
| (即oops我不是故意点击那个..)。我如何取消这个
活动?

哦是的......那将是... RTFM



史蒂夫,友好一如既往.. 。


-

MS Herfried K. Wagner

MVP< URL:http://dotnet.mvps.org />

VB< URL:http://classicvb.org/petition/>


I have an exit routine that runs when a users selects ''exit'' from a menu or
closes the form by clicking on the ''X'' in the top right of the form (on the
controlbox).

One option in the exit routine will be to cancel the closing of the form
(i.e. oops I didn''t mean to click that..). How would I cancel this event?

解决方案

| One option in the exit routine will be to cancel the closing of the form
| (i.e. oops I didn''t mean to click that..). How would I cancel this event?

oh yeah...that would be...RTFM


Huh?

"steve" <a@bc.com> wrote in message news:wE*****************@fe03.lga...

| One option in the exit routine will be to cancel the closing of the form
| (i.e. oops I didn''t mean to click that..). How would I cancel this
event?

oh yeah...that would be...RTFM



"steve" <a@bc.com> schrieb:

| One option in the exit routine will be to cancel the closing of the form
| (i.e. oops I didn''t mean to click that..). How would I cancel this
event?

oh yeah...that would be...RTFM


Steve, friendly as ever...

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


这篇关于你可以覆盖表单控件箱事件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆