明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2358|回复: 1

CommonDialog对话框按取消键返回是什么值

[复制链接]
发表于 2005-8-28 00:01:00 | 显示全部楼层 |阅读模式
请各位帮帮忙,CommonDialog(公共对话框)按取消键返回的是什么参数?谢谢
发表于 2005-8-28 14:48:00 | 显示全部楼层

判断对话框属性CancelError的值.

CancelError Property
     

Returns or sets a value indicating whether an error is generated when the user chooses the Cancel button.

Syntax

object.CancelError [= boolean]

The CancelError property syntax has these parts:

Part Description
object Anobject expression that evaluates to an object in the Applies To list.
boolean ABoolean expression indicating whether an error is generated, as described in Settings.


Settings

The settings for boolean are:

Setting Description
True An error is generated.
False (Default) No error is generated.


Remarks

When this property is set to True, error number 32755 (cdlCancel) occurs whenever the user chooses the Cancel button.

Data Type

Boolean

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-11-27 10:32 , Processed in 0.169943 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表