HBCMS更多的中文手册参考:

BORDER Attribute | border参数属性

DHTML文档教程

Sets or retrieves the type of window border for the HTML Application (HTA).

dhtml语法

HTML<HTA:APPLICATION BORDER = sType... >
Scripting[ sType = ] HTA:APPLICATION.border

DHTML可能的值

sTypeStringthat specifies one of the following values:
thickDefault. Thick window border, plus a size grip and sizing border for resizing the window.
dialogDialog window border.
noneNo window border.
thinThin window border with a caption.

The property is read-only. The property has a default value of thick.

Remarks

Note  The border property is read-only; however, the BORDER attribute can be used to set the initial value.

The border property affects the window border and is valid only for HTA windows that contain a title bar or caption. Setting border to none eliminates the title bar, the program icon, and the Minimize and Maximize buttons. This property can be used with the borderstyle property, which controls the content border within the window.

DHTML代码范例

This example uses the border property to apply a thin border to the window.

<HTML>
<HEAD>
<TITLE>Hello, World!</TITLE>
<HTA:APPLICATION ID="oHTA"
APPLICATIONAME="myApp"
BORDER="thin"
>
<SCRIPT>
alert("border    = " + oHTA.border);
</SCRIPT>
</HEAD>
<BODY SCROLL="no">
</BODY>
</HTML>
This feature requires Microsoft® Internet Explorer 5 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

是否符合公共标准

This property is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

HTA:APPLICATION

更多语法参考

Introduction to HTML Applications (HTAs)