mayuezxl 发表于 2005-8-28 00:01:00

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

请各位帮帮忙,CommonDialog(公共对话框)按取消键返回的是什么参数?谢谢

风之助 发表于 2005-8-28 14:48:00

<P>判断对话框属性CancelError的值.</P>
<P>CancelError Property<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </P>
<P>Returns or sets a value indicating whether an error is generated when the user chooses the Cancel button.</P>
<P>Syntax</P>
<P>object.CancelError [= boolean]</P>
<P>The CancelError property syntax has these parts:</P>
<P>Part Description <BR>object Anobject expression that evaluates to an object in the Applies To list. <BR>boolean ABoolean expression indicating whether an error is generated, as described in Settings. </P>
<P><BR>Settings</P>
<P>The settings for boolean are:</P>
<P>Setting Description <BR>True An error is generated. <BR>False (Default) No error is generated. </P>
<P><BR>Remarks</P>
<P>When this property is set to True, error number 32755 (cdlCancel) occurs whenever the user chooses the Cancel button.</P>
<P>Data Type</P>
<P>Boolean<BR></P>
页: [1]
查看完整版本: CommonDialog对话框按取消键返回是什么值