问题描述
大家好
我有一个场景,我需要创建一个文档,在我创建它之后我将有很多选项来操作创建的文档,即我有选项比如删除和修改链接。
I have a scenario , where I need create a document , after I create it I will have many options to manipulate the created document, i.e I have options like delete and modify links .
我想要的是首先我需要检查链接是否已启用 选择文档后继续执行后续步骤,我正在使用这样的
what I want here is first I need to check link is enabled or not after selecting the document and proceed to next steps, I am using like this
if
( this 。UIMap.UI_Browser_Browsername.UI_HtmlDoc_DocumentName。 UI_HtmlLnk_Delete.Enabled
== true )
{
if (this.UIMap.UI_Browser_Browsername.UI_HtmlDoc_DocumentName.UI_HtmlLnk_Delete.Enabled== true)
{
MessageBox 。显示( " Enabled" ) ;
MessageBox.Show("Enabled");
}
}
else
else
{
MessageBox 。显示( " Not
已启用" );
MessageBox.Show("Not enabled");
}
问题甚至链接未启用函数返回启用,
如何检查链接是否启用
problem is even the link is not enabled function is returning enabled ,how to check the link is enabled or not
推荐答案
将十字准线拖到已禁用的链接上并查看已启用属性的值。
Drag the crosshair on to the disabled link and see the value of the Enabled property.
这篇关于如何检查天气是否启用了Hyperlinkis的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!